\Pop\Acl\PolicyPolicyTrait

Policy trait

Summary

Methods
Properties
Constants
can()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

can()

can(string  $method, \Pop\Acl\AclResource  $resource = null) : boolean|null

Evaluate policy

Parameters

string $method
\Pop\Acl\AclResource $resource

Returns

boolean|null