protected function registerSecurity()
    {
        $this->app->singleton('security', function (Container $app) {
            $evil = $app->config->get('security.evil');

            return new Security($evil);
        });

        $this->app->alias('security', Security::class);
    }
protected function registerSecurity()
    {
        $this->app->singleton('security', function (Container $app) {
            $evil = $app->config->get('security.evil');

            return new Security($evil);
        });

        $this->app->alias('security', Security::class);
    }
protected function registerSecurity ( ) { $ this -> app -> singleton ( 'security' , function ( Container $ app ) { $ evil = $ app -> config -> get ( 'security.evil' ) ; return new Security ( $ evil ) ; } ) ; $ this -> app -> alias ( 'security' , Security :: class ) ; }
Register the security class.

@return void
Register the security class .