\Pop\Acl\PolicyPolicyInterface

Policy trait

Summary

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

Methods

can()

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

Evaluate policy

Parameters

string $method
\Pop\Acl\AclResource $resource

Returns

boolean