public getAclRoles ( boolean $ignoreCache = false ) : Scalr\Acl\Role\AccountRoleSuperposition | ||
$ignoreCache | boolean | |
return | Scalr\Acl\Role\AccountRoleSuperposition | Returns the list of the roles of account level |
public function getAclRoles($ignoreCache = false)
{
if (!isset($this->_cache['roles.account'])) {
$this->_cache['roles.account'] = \Scalr::getContainer()->acl->getUserRoles($this);
}
return $this->_cache['roles.account'];
}