Cartalyst\Sentinel\Laravel\SentinelServiceProvider::register PHP Method

register() public method

{@inheritDoc}
public register ( )
    public function register()
    {
        $this->prepareResources();
        $this->setOverrides();
        $this->registerPersistences();
        $this->registerUsers();
        $this->registerRoles();
        $this->registerCheckpoints();
        $this->registerReminders();
        $this->registerSentinel();
        $this->setUserResolver();
    }

Usage Example

 public function register()
 {
     $this->app->configure('sentinel');
     config(['cartalyst.sentinel' => config('sentinel')]);
     config(['sentinel' => null]);
     parent::register();
 }