/** * Creates a index replacement, which has quoted names. * * @param Index $index * * @return Index */ private function createIndexReplacement(Index $index) { return new Index($this->platform->quoteIdentifier($index->getName()), $this->quoteIdentifiers($index->getColumns()), $index->isUnique(), $index->isPrimary(), $index->getFlags(), $index->getOptions()); }