public function applyAcl(array $addAces, array $removeAces, AclPropagation $aclPropagation)
    {
        $result = $this->getSession()->applyAcl($this, $addAces, $removeAces, $aclPropagation);

        $this->refresh();

        return $result;
    }
public function applyAcl(array $addAces, array $removeAces, AclPropagation $aclPropagation)
    {
        $result = $this->getSession()->applyAcl($this, $addAces, $removeAces, $aclPropagation);

        $this->refresh();

        return $result;
    }
public function applyAcl ( array $ addAces , array $ removeAces , AclPropagation $ aclPropagation ) { $ result = $ this -> getSession ( ) -> applyAcl ( $ this , $ addAces , $ removeAces , $ aclPropagation ) ; $ this -> refresh ( ) ; return $ result ; }
Adds and removes ACEs to the object and refreshes this object afterwards.

@param AceInterface[] $addAces
@param AceInterface[] $removeAces
@param AclPropagation $aclPropagation
@return AclInterface the new ACL of this object
Adds and removes ACEs to the object and refreshes this object afterwards .