public function handle(WelcomeUserCommand $command)
    {
        $command->user->update(['welcomed' => true]);

        event(new UserWasWelcomedEvent($command->user));
    }
public function handle(WelcomeUserCommand $command)
    {
        $command->user->update(['welcomed' => true]);

        event(new UserWasWelcomedEvent($command->user));
    }
public function handle ( WelcomeUserCommand $ command ) { $ command -> user -> update ( [ 'welcomed' => true ] ) ; event ( new UserWasWelcomedEvent ( $ command -> user ) ) ; }
Handle the welcome user command.

@param \CachetHQ\Cachet\Bus\Commands\User\WelcomeUserCommand $command

@return void
Handle the welcome user command .