Documentation

PolicyTrait

Policy trait

Tags
category

Pop

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

version
5.0.0
phpstan-require-implements

PolicyInterface

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
Tags
throws
Exception
Return values
bool|null

        
On this page

Search results