can()
can(string $method, \Pop\Acl\AclResource $resource = null) : boolean|null
Evaluate policy
Parameters
string | $method | |
\Pop\Acl\AclResource | $resource |
Policy trait
can(string $method, \Pop\Acl\AclResource $resource = null) : boolean|null
Evaluate policy
string | $method | |
\Pop\Acl\AclResource | $resource |