So, I cannot find any docs how to use the database adabter. I have tried few different approach without any success. So I'm trying to use \Phalcon\ACL\Adapters\Database;
self::$acl = new AclList(
(array)self::getAcl()->di->get('config')->database
);
This last what I did try. However that returns
Parameter "db" is required and it must be an instance of Phalcon\Acl\AdapterInterface
Turth to be told, I'm stuck. I don't know how to initialize Database adabter for ACL and I cannot find any docs how to do it.