CachedPolicy
class CachedPolicy
A policy for caching the return values of the authorization rules during a request.
Constants
TIME |
Time to store the cached values. (is irrelevant for the array store) |
Properties
protected Cache | $cache | The cache instance to use for caching policies. |
Methods
__construct()
Create a new CachedPolicy.
mixed
remember(string $key, callable $callback)
Wrapper for the Cache::remember function of the array cache.
Details
at line 31
__construct()
Create a new CachedPolicy.
at line 43
mixed
remember(string $key, callable $callback)
Wrapper for the Cache::remember function of the array cache.