phalconplus Documentation v1.2.0
Class
Class PhalconPlus Facades

# Acl

        namespace PhalconPlus\Facades;
    use Phalcon\Acl\Adapter\Memory as AclList;
    use Phalcon\Di;

    class Acl extends AbstractFacade
    {
        protected function getName() -> string
        {
            return "acl";
        }

        protected function resolve( di) -> null |
        {
            var acl;
            let acl = new AclList();
            acl->setDefaultAction(
                \Phalcon\Acl::DENY
            );
            di->setShared(this->getName(), acl);
            return null;
        }
    }