public function setAcl(array $aces)
    {
        $result = $this->getSession()->setAcl($this, $aces);

        $this->refresh();

        return $result;
    }
public function setAcl(array $aces)
    {
        $result = $this->getSession()->setAcl($this, $aces);

        $this->refresh();

        return $result;
    }
public function setAcl ( array $ aces ) { $ result = $ this -> getSession ( ) -> setAcl ( $ this , $ aces ) ; $ this -> refresh ( ) ; return $ result ; }
Removes the direct ACE of this object, sets the provided ACEs to the object and refreshes this object afterwards.

@param AceInterface[] $aces
@return AclInterface
Removes the direct ACE of this object sets the provided ACEs to the object and refreshes this object afterwards .