PolicyTrait
Policy trait
Tags
Table of Contents
Methods
- can() : bool|null
- Evaluate policy
Methods
can()
Evaluate policy
public
can(string $method[, AclResource|null $resource = null ]) : bool|null
Parameters
- $method : string
- $resource : AclResource|null = null