AuthorizableInterface
interface AuthorizableInterface
Authorizable interface.
Methods
bool
can(string $action, object|string $entity, mixed ...$parameters)
Returns TRUE if allowed to perform the action on the entity and FALSE if not.
Details
at line 22
setAuthorizer(AuthorizerInterface $authorizer)
Sets the authorizer.
at line 32
bool
can(string $action, object|string $entity, mixed ...$parameters)
Returns TRUE if allowed to perform the action on the entity and FALSE if not.