ZF2 – Authorisation – Zend\Permissions\Acl

The Zend\Permissions\Acl component provides an access control list (ACL) implementation for privileges management.
Creating an ACL
Use Zend\Permissions\Acl\Acl to create a new instance of an ACL.
use Zend\Permissions\Acl\Acl;
$acl = new Acl();
A resource is an object to which access is controlled. Any ACL resources defined must implement Zend\Permissions\Acl\Resource\ResourceInterface and contain one method: getResourceId().