Свойство | Type | Description | |
---|---|---|---|
$cache | Illuminate\Contracts\Cache\Repository | ||
$cacheKey | string | ||
$gate | Illuminate\Contracts\Auth\Access\Gate |
Méthode | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Auth\Access\Gate $gate, Illuminate\Contracts\Cache\Repository $cache ) | ||
forgetCachedPermissions ( ) | Forget the cached permissions. | |
registerPermissions ( ) : boolean | Register the permissions. |
Méthode | Description | |
---|---|---|
getPermissions ( ) : Illuminate\Database\Eloquent\Collection | Get the current permissions. |
public __construct ( Illuminate\Contracts\Auth\Access\Gate $gate, Illuminate\Contracts\Cache\Repository $cache ) | ||
$gate | Illuminate\Contracts\Auth\Access\Gate | |
$cache | Illuminate\Contracts\Cache\Repository |
public forgetCachedPermissions ( ) |
protected getPermissions ( ) : Illuminate\Database\Eloquent\Collection | ||
Résultat | Illuminate\Database\Eloquent\Collection |
public registerPermissions ( ) : boolean | ||
Résultat | boolean |
protected Repository,Illuminate\Contracts\Cache $cache | ||
Résultat | Illuminate\Contracts\Cache\Repository |