trait HasAuthorization
Traits
Properties
| protected bool| Closure | $authenticated |
|
||
| protected null|string| Closure | $ability |
|
||
| protected bool | $admin |
|
trait HasAuthorization
| protected bool| Closure | $authenticated |
|
||
| protected null|string| Closure | $ability |
|
||
| protected bool | $admin |
|
HasAuthorization
authenticated(bool| Closure $condition = true)
HasAuthorization
can(null|string| Closure $ability)
HasAuthorization
admin(bool $admin = true)
bool
getAuthenticated( Context $context)
string|null
getAuthorized( Context $context)
bool
isVisible( Context $context)