Constructor. Will return an instance of the correct ACL class as defined in Configure::read('Acl.classname')
public __construct ( Cake\Controller\ComponentRegistry $collection, array $config = [] ) | ||
$collection | Cake\Controller\ComponentRegistry | A ComponentRegistry |
$config | array | Array of configuration settings |