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