protected function doLoadAcl(ObjectIdentityInterface $objectIdentity)
    {
        $acl = null;
        try {
            $acl = $this->getAclProvider()->createAcl($objectIdentity);
        } catch (AclAlreadyExistsException $ex) {
            $acl = $this->getAclProvider()->findAcl($objectIdentity);
        }

        return $acl;
    }
protected function doLoadAcl(ObjectIdentityInterface $objectIdentity)
    {
        $acl = null;
        try {
            $acl = $this->getAclProvider()->createAcl($objectIdentity);
        } catch (AclAlreadyExistsException $ex) {
            $acl = $this->getAclProvider()->findAcl($objectIdentity);
        }

        return $acl;
    }
protected function doLoadAcl ( ObjectIdentityInterface $ objectIdentity ) { $ acl = null ; try { $ acl = $ this -> getAclProvider ( ) -> createAcl ( $ objectIdentity ) ; } catch ( AclAlreadyExistsException $ ex ) { $ acl = $ this -> getAclProvider ( ) -> findAcl ( $ objectIdentity ) ; } return $ acl ; }
Loads an ACL from the ACL provider, first by attempting to create, then finding if it already exists

@param mixed $entity
@return MutableAclInterface
Loads an ACL from the ACL provider first by attempting to create then finding if it already exists