AuthorizationTrait
trait AuthorizationTrait
Authorization trait.
Methods
authorize(string $action, object|string $entity, mixed ...$parameters)
Throws a ForbiddenException if the user is not allowed to perform the action on the entity.
Details
at line 27
protected
authorize(string $action, object|string $entity, mixed ...$parameters)
Throws a ForbiddenException if the user is not allowed to perform the action on the entity.