PHP Class Bluz\Proxy\Acl

Example of usage use Bluz\Proxy\Acl; if (!Acl::isAllowed('users', 'profile')) { throw new Exception('You do not have permission to access user profiles'); }
See also: Instance::isAllowed()
Author: Anton Shevchuk
Inheritance: use trait ProxyTrait
Datei anzeigen Open project: bluzphp/framework Class Usage Examples

Protected Methods

Method Description
initInstance ( ) : Acl Init instance

Method Details

initInstance() protected static method

Init instance
protected static initInstance ( ) : Acl
return Bluz\Acl\Acl