src/acdhOeaw/fedora/FedoraResource.php
public function getAcl(bool $refresh = true): WebAcl {
        if ($refresh || $this->acl === null) {
            $this->getAclUrl($refresh);
            $this->acl = new WebAcl($this);
        }
        return $this->acl;
    }
public function getAcl(bool $refresh = true): WebAcl {
        if ($refresh || $this->acl === null) {
            $this->getAclUrl($refresh);
            $this->acl = new WebAcl($this);
        }
        return $this->acl;
    }
public function getAcl ( bool $ refresh = true ) : WebAcl { if ( $ refresh || $ this -> acl === null ) { $ this -> getAclUrl ( $ refresh ) ; $ this -> acl = new WebAcl ( $ this ) ; } return $ this -> acl ; }
Returns a WebAcl object for access rules manipulation.
@param bool $refresh should the ACL collection and rules be refreshed or
read from cache (there are many scenarios when reading requiring
ACL data to be outdated so the default behaviour is to refresh)
@return WebAcl
Returns a WebAcl object for access rules manipulation .