public function setAddedIndices(array $addedIndices)
    {
        $this->addedIndices = [];
        foreach ($addedIndices as $addedIndex) {
            $this->addAddedIndex($addedIndex->getName(), $addedIndex);
        }
    }
public function setAddedIndices(array $addedIndices)
    {
        $this->addedIndices = [];
        foreach ($addedIndices as $addedIndex) {
            $this->addAddedIndex($addedIndex->getName(), $addedIndex);
        }
    }
public function setAddedIndices ( array $ addedIndices ) { $ this -> addedIndices = [ ] ; foreach ( $ addedIndices as $ addedIndex ) { $ this -> addAddedIndex ( $ addedIndex -> getName ( ) , $ addedIndex ) ; } }
Sets the list of new added indices.

@param Index[] $addedIndices
Sets the list of new added indices .