Authorizable
trait Authorizable (View source)
Methods
bool
can(iterable|BackedEnum|string $abilities, array|mixed $arguments = [])
Determine if the entity has the given abilities.
bool
canAny(iterable|BackedEnum|string $abilities, array|mixed $arguments = [])
Determine if the entity has any of the given abilities.
bool
cant(iterable|BackedEnum|string $abilities, array|mixed $arguments = [])
Determine if the entity does not have the given abilities.
bool
cannot(iterable|BackedEnum|string $abilities, array|mixed $arguments = [])
Determine if the entity does not have the given abilities.
Details
bool
can(iterable|BackedEnum|string $abilities, array|mixed $arguments = [])
Determine if the entity has the given abilities.
bool
canAny(iterable|BackedEnum|string $abilities, array|mixed $arguments = [])
Determine if the entity has any of the given abilities.
bool
cant(iterable|BackedEnum|string $abilities, array|mixed $arguments = [])
Determine if the entity does not have the given abilities.
bool
cannot(iterable|BackedEnum|string $abilities, array|mixed $arguments = [])
Determine if the entity does not have the given abilities.