protected function registerRoles()
    {
        $this->app->singleton('sentinel.roles', function ($app) {
            $config = $app['config']->get('cartalyst.sentinel.roles');

            return new IlluminateRoleRepository($config['model']);
        });
    }
protected function registerRoles()
    {
        $this->app->singleton('sentinel.roles', function ($app) {
            $config = $app['config']->get('cartalyst.sentinel.roles');

            return new IlluminateRoleRepository($config['model']);
        });
    }
protected function registerRoles ( ) { $ this -> app -> singleton ( 'sentinel.roles' , function ( $ app ) { $ config = $ app [ 'config' ] -> get ( 'cartalyst.sentinel.roles' ) ; return new IlluminateRoleRepository ( $ config [ 'model' ] ) ; } ) ; }
Registers the roles.

@return void
Registers the roles .