class PermissionAuthServiceProvider extends AuthServiceProvider (View source)

Properties

static protected $cache
static protected $useCache

Methods

static 
disableCache()

Disable gate caching for integration tests

define($ability, $callback)

For compatibility with legacy AuthServiceProvider

authorize($user, $callback, $moduleName = null)

No description

boot()

No description

Details

static disableCache()

Disable gate caching for integration tests

protected define($ability, $callback)

For compatibility with legacy AuthServiceProvider

Parameters

$ability
$callback

protected authorize($user, $callback, $moduleName = null)

No description

Parameters

$user
$callback
$moduleName

boot()

No description