REBELinBLUE\Deployer\Listeners\Events\SendSignupEmail::handle PHP Метод

handle() публичный Метод

Handle the event.
public handle ( UserWasCreated $event )
$event REBELinBLUE\Deployer\Events\UserWasCreated
    public function handle(UserWasCreated $event)
    {
        $user = $event->user;
        $data = ['password' => $event->password, 'email' => $user->email];
        Mail::queueOn('deployer-low', 'emails.account', $data, function (Message $message) use($user) {
            $message->to($user->email, $user->name)->subject(Lang::get('emails.creation_subject'));
        });
    }
SendSignupEmail