Метод |
Описание |
|
getAbilities ( Model $authority, boolean $allowed = true ) : Illuminate\Database\Eloquent\Collection |
Get the given authority's abilities. |
|
getCache ( ) : Illuminate\Contracts\Cache\Store |
Get the cache instance. |
|
getFreshAbilities ( Model $authority, boolean $allowed ) : Illuminate\Database\Eloquent\Collection |
Get a fresh copy of the given authority's abilities. |
|
getRoles ( Model $authority ) : Collection |
Get the given authority's roles. |
|
refresh ( null | Model $authority = null ) |
Clear the cache. |
|
refreshFor ( Model $authority ) |
Clear the cache for the given authority. |
|
setCache ( Illuminate\Contracts\Cache\Store $cache ) |
Set the cache instance. |
|