account; $log = $event->log; if ($log['type'] == 'cash') { if ($account->user && $account->user->openid) { \Notification::send($account->user, new AccountChanged($log)); } } } }