Class: \Conifer\Authorization\TemplatePolicy (abstract)
Abstract class providing a basis for defining custom, template-level authorization logic
Visibility | Function |
---|---|
public | adopt() : PolicyInterface fluent interface Adopt this policy |
public | abstract enforce(\string $template, \Timber\User $user)</strong> : void Enforce this template-level policy |
This class extends \Conifer\Authorization\AbstractPolicy
This class implements \Conifer\Authorization\PolicyInterface