private function deleteAce($property, $index)
    {
        $aces = &$this->$property;
        if (!isset($aces[$index])) {
            throw new \OutOfBoundsException(sprintf('The index "%d" does not exist.', $index));
        }

        $oldValue = $this->$property;
        unset($aces[$index]);
        $this->$property = array_values($this->$property);
        $this->onPropertyChanged($property, $oldValue, $this->$property);

        for ($i = $index, $c = count($this->$property); $i < $c; ++$i) {
            $this->onEntryPropertyChanged($aces[$i], 'aceOrder', $i + 1, $i);
        }
    }
private function deleteAce($property, $index)
    {
        $aces = &$this->$property;
        if (!isset($aces[$index])) {
            throw new \OutOfBoundsException(sprintf('The index "%d" does not exist.', $index));
        }

        $oldValue = $this->$property;
        unset($aces[$index]);
        $this->$property = array_values($this->$property);
        $this->onPropertyChanged($property, $oldValue, $this->$property);

        for ($i = $index, $c = count($this->$property); $i < $c; ++$i) {
            $this->onEntryPropertyChanged($aces[$i], 'aceOrder', $i + 1, $i);
        }
    }
private function deleteAce ( $ property , $ index ) { $ aces = & $ this -> $ property ; if ( ! isset ( $ aces [ $ index ] ) ) { throw new \ OutOfBoundsException ( sprintf ( 'The index "%d" does not exist.' , $ index ) ) ; } $ oldValue = $ this -> $ property ; unset ( $ aces [ $ index ] ) ; $ this -> $ property = array_values ( $ this -> $ property ) ; $ this -> onPropertyChanged ( $ property , $ oldValue , $ this -> $ property ) ; for ( $ i = $ index , $ c = count ( $ this -> $ property ) ; $ i < $ c ; ++ $ i ) { $ this -> onEntryPropertyChanged ( $ aces [ $ i ] , 'aceOrder' , $ i + 1 , $ i ) ; } }
Deletes an ACE.

@param string $property
@param int    $index

@throws \OutOfBoundsException
Deletes an ACE .