app/Listeners/User/UserEventListener.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(
            UserCreated::class,
            'App\Listeners\User\UserEventListener@onCreated'
        );
        $events->listen(
            UserUpdated::class,
            'App\Listeners\User\UserEventListener@onUpdated'
        );
        $events->listen(
            UserDeleted::class,
            'App\Listeners\User\UserEventListener@onDeleted'
        );
        $events->listen(
            UserConfirmed::class,
            'App\Listeners\User\UserEventListener@onConfirmed'
        );
        $events->listen(
            UserUnconfirmed::class,
            'App\Listeners\User\UserEventListener@onUnconfirmed'
        );
        $events->listen(
            UserPasswordChanged::class,
            'App\Listeners\User\UserEventListener@onPasswordChanged'
        );
        $events->listen(
            UserDeactivated::class,
            'App\Listeners\User\UserEventListener@onDeactivated'
        );
        $events->listen(
            UserReactivated::class,
            'App\Listeners\User\UserEventListener@onReactivated'
        );
        $events->listen(
            UserSocialDeleted::class,
            'App\Listeners\User\UserEventListener@onSocialDeleted'
        );
        $events->listen(
            UserPermanentlyDeleted::class,
            'App\Listeners\User\UserEventListener@onPermanentlyDeleted'
        );
        $events->listen(
            UserRestored::class,
            'App\Listeners\User\UserEventListener@onRestored'
        );
        $events->listen(
            UserLoggedIn::class,
            'App\Listeners\User\UserEventListener@onLoggedIn'
        );
        $events->listen(
            UserLoggedOut::class,
            'App\Listeners\User\UserEventListener@onLoggedOut'
        );
        $events->listen(
            UserRegistered::class,
            'App\Listeners\User\UserEventListener@onRegistered'
        );
        $events->listen(
            UserProviderRegistered::class,
            'App\Listeners\User\UserEventListener@onProviderRegistered'
        );
        $events->listen(
            UserConfirmed::class,
            'App\Listeners\User\UserEventListener@onConfirmed'
        );
    }
public function subscribe ( $ events ) { $ events -> listen ( UserCreated :: class , 'App\Listeners\User\UserEventListener@onCreated' ) ; $ events -> listen ( UserUpdated :: class , 'App\Listeners\User\UserEventListener@onUpdated' ) ; $ events -> listen ( UserDeleted :: class , 'App\Listeners\User\UserEventListener@onDeleted' ) ; $ events -> listen ( UserConfirmed :: class , 'App\Listeners\User\UserEventListener@onConfirmed' ) ; $ events -> listen ( UserUnconfirmed :: class , 'App\Listeners\User\UserEventListener@onUnconfirmed' ) ; $ events -> listen ( UserPasswordChanged :: class , 'App\Listeners\User\UserEventListener@onPasswordChanged' ) ; $ events -> listen ( UserDeactivated :: class , 'App\Listeners\User\UserEventListener@onDeactivated' ) ; $ events -> listen ( UserReactivated :: class , 'App\Listeners\User\UserEventListener@onReactivated' ) ; $ events -> listen ( UserSocialDeleted :: class , 'App\Listeners\User\UserEventListener@onSocialDeleted' ) ; $ events -> listen ( UserPermanentlyDeleted :: class , 'App\Listeners\User\UserEventListener@onPermanentlyDeleted' ) ; $ events -> listen ( UserRestored :: class , 'App\Listeners\User\UserEventListener@onRestored' ) ; $ events -> listen ( UserLoggedIn :: class , 'App\Listeners\User\UserEventListener@onLoggedIn' ) ; $ events -> listen ( UserLoggedOut :: class , 'App\Listeners\User\UserEventListener@onLoggedOut' ) ; $ events -> listen ( UserRegistered :: class , 'App\Listeners\User\UserEventListener@onRegistered' ) ; $ events -> listen ( UserProviderRegistered :: class , 'App\Listeners\User\UserEventListener@onProviderRegistered' ) ; $ events -> listen ( UserConfirmed :: class , 'App\Listeners\User\UserEventListener@onConfirmed' ) ; }
Register the listeners for the subscriber.
Register the listeners for the subscriber .