VideoAnnotationLabelPolicy
class VideoAnnotationLabelPolicy extendsCachedPolicy
Traits
HandlesAuthorization
Constants
TIME |
Time to store the cached values. (is irrelevant for the array store) |
Properties
protectedCache | $cache | The cache instance to use for caching policies. | from CachedPolicy |
Methods
mixed
remember(string$key,callable$callback)
Wrapper for the Cache::remember function of the array cache.
from CachedPolicy
bool
destroy(User$user,VideoAnnotationLabel$annotationLabel)
Determine if the user may detach the given video annotation label.
Details
inCachedPolicyat line31
__construct()
Create a new CachedPolicy.
inCachedPolicyat line43
mixed
remember(string$key,callable$callback)
Wrapper for the Cache::remember function of the array cache.
at line23
bool|null
before(User$user,string$ability)
Intercept all checks.
at line37
bool
destroy(User$user,VideoAnnotationLabel$annotationLabel)
Determine if the user may detach the given video annotation label.