app/Listeners/AuthEventSubscriber.php
/**
     * Register the listeners for the subscriber.
     *
     * @param  Illuminate\Events\Dispatcher $events
     */
Register the listeners for the subscriber.
@param  Illuminate\Events\Dispatcher $events
Register the listeners for the subscriber . @param Illuminate \ Events \ Dispatcher $events
public function subscribe($events)
    {
        $events->listen(
            'App\Events\LoginEvent',
            'App\Listeners\AuthEventSubscriber@onUserLogin'
        );
        $events->listen(
            'App\Events\LoginNotActiveEvent',
            'App\Listeners\AuthEventSubscriber@onUserLoginNotActive'
        );
        $events->listen(
            'App\Events\UserLoginIsLocked',
            'App\Listeners\AuthEventSubscriber@onUserLoginIsLocked'
        );
        $events->listen(
            'App\Events\LoginFailedEvent',
            'App\Listeners\AuthEventSubscriber@onUserLoginFailed'
        );
        $events->listen(
            'App\Events\Logout',
            'App\Listeners\AuthEventSubscriber@onUserLogout'
        );
        $events->listen(
            'App\Events\SendPasswordResetLinkEmail',
            'App\Listeners\AuthEventSubscriber@onUserRequestPasswordResetLink'
        );
        $events->listen(
            'App\Events\ResetPassword',
            'App\Listeners\AuthEventSubscriber@onUserResetPassword'
        );
        $events->listen(
            'App\Events\ActivateUserAccount',
            'App\Listeners\AuthEventSubscriber@onActivateUserAccount'
        );
    }
public function subscribe ( $ events ) { $ events -> listen ( 'App\Events\LoginEvent' , 'App\Listeners\AuthEventSubscriber@onUserLogin' ) ; $ events -> listen ( 'App\Events\LoginNotActiveEvent' , 'App\Listeners\AuthEventSubscriber@onUserLoginNotActive' ) ; $ events -> listen ( 'App\Events\UserLoginIsLocked' , 'App\Listeners\AuthEventSubscriber@onUserLoginIsLocked' ) ; $ events -> listen ( 'App\Events\LoginFailedEvent' , 'App\Listeners\AuthEventSubscriber@onUserLoginFailed' ) ; $ events -> listen ( 'App\Events\Logout' , 'App\Listeners\AuthEventSubscriber@onUserLogout' ) ; $ events -> listen ( 'App\Events\SendPasswordResetLinkEmail' , 'App\Listeners\AuthEventSubscriber@onUserRequestPasswordResetLink' ) ; $ events -> listen ( 'App\Events\ResetPassword' , 'App\Listeners\AuthEventSubscriber@onUserResetPassword' ) ; $ events -> listen ( 'App\Events\ActivateUserAccount' , 'App\Listeners\AuthEventSubscriber@onActivateUserAccount' ) ; }
Register the listeners for the subscriber.
Register the listeners for the subscriber .