public function add_events()
    {

        // Internal Authentication Events
        $this->app->events->listen(LoginEvent::class, Login::class);
        $this->app->events->listen(LogoutEvent::class, Logout::class);
        $this->app->events->listen(Attempting::class, Attempt::class);

        // Custom Events
        $this->app->events->listen('security.log', SecLog::class);
    }
public function add_events()
    {

        // Internal Authentication Events
        $this->app->events->listen(LoginEvent::class, Login::class);
        $this->app->events->listen(LogoutEvent::class, Logout::class);
        $this->app->events->listen(Attempting::class, Attempt::class);

        // Custom Events
        $this->app->events->listen('security.log', SecLog::class);
    }
public function add_events ( ) { // Internal Authentication Events $ this -> app -> events -> listen ( LoginEvent :: class , Login :: class ) ; $ this -> app -> events -> listen ( LogoutEvent :: class , Logout :: class ) ; $ this -> app -> events -> listen ( Attempting :: class , Attempt :: class ) ; // Custom Events $ this -> app -> events -> listen ( 'security.log' , SecLog :: class ) ; }
Register the custom events that may fire for
this package.
Register the custom events that may fire for this package .