프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cache | Illuminate\Contracts\Cache\Repository | ||
$cacheKey | string | ||
$gate | Illuminate\Contracts\Auth\Access\Gate |
메소드 | 설명 | |
---|---|---|
__construct ( Illuminate\Contracts\Auth\Access\Gate $gate, Illuminate\Contracts\Cache\Repository $cache ) | ||
forgetCachedPermissions ( ) | Forget the cached permissions. | |
registerPermissions ( ) : boolean | Register the permissions. |
메소드 | 설명 | |
---|---|---|
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 |
protected getPermissions ( ) : Illuminate\Database\Eloquent\Collection | ||
리턴 | Illuminate\Database\Eloquent\Collection |
public registerPermissions ( ) : boolean | ||
리턴 | boolean |
protected Repository,Illuminate\Contracts\Cache $cache | ||
리턴 | Illuminate\Contracts\Cache\Repository |