src/Kunstmaan/AdminBundle/Helper/Security/Acl/Permission/PermissionAdmin.php
private function getMaskAtIndex(AclInterface $acl, $index)
    {
        $objectAces = $acl->getObjectAces();
        /* @var $ace AuditableEntryInterface */
        $ace = $objectAces[$index];
        $securityIdentity = $ace->getSecurityIdentity();
        if ($securityIdentity instanceof RoleSecurityIdentity) {
            return $ace->getMask();
        }

        return false;
    }
private function getMaskAtIndex(AclInterface $acl, $index)
    {
        $objectAces = $acl->getObjectAces();
        /* @var $ace AuditableEntryInterface */
        $ace = $objectAces[$index];
        $securityIdentity = $ace->getSecurityIdentity();
        if ($securityIdentity instanceof RoleSecurityIdentity) {
            return $ace->getMask();
        }

        return false;
    }
private function getMaskAtIndex ( AclInterface $ acl , $ index ) { $ objectAces = $ acl -> getObjectAces ( ) ; /* @var $ace AuditableEntryInterface */ $ ace = $ objectAces [ $ index ] ; $ securityIdentity = $ ace -> getSecurityIdentity ( ) ; if ( $ securityIdentity instanceof RoleSecurityIdentity ) { return $ ace -> getMask ( ) ; } return false ; }
Get object ACE mask at specified index.

@param AclInterface $acl   The acl interface
@param int          $index The index

@return bool|int
Get object ACE mask at specified index .