public function setModifiedIndices(array $modifiedIndices)
    {
        $this->modifiedIndices = [];
        foreach ($modifiedIndices as $indices) {
            list($fromIndex, $toIndex) = $indices;
            $this->addModifiedIndex($fromIndex->getName(), $fromIndex, $toIndex);
        }
    }
public function setModifiedIndices(array $modifiedIndices)
    {
        $this->modifiedIndices = [];
        foreach ($modifiedIndices as $indices) {
            list($fromIndex, $toIndex) = $indices;
            $this->addModifiedIndex($fromIndex->getName(), $fromIndex, $toIndex);
        }
    }
public function setModifiedIndices ( array $ modifiedIndices ) { $ this -> modifiedIndices = [ ] ; foreach ( $ modifiedIndices as $ indices ) { list ( $ fromIndex , $ toIndex ) = $ indices ; $ this -> addModifiedIndex ( $ fromIndex -> getName ( ) , $ fromIndex , $ toIndex ) ; } }
Sets the list of modified indices.

Array must be [ [ Index $fromIndex, Index $toIndex ], [ ... ] ]

@param Index[] $modifiedIndices An aray of modified indices
Sets the list of modified indices .