src/Neutrino/Database/Schema/Blueprint.php
protected function fluentToIndex(Definition $index, DialectInterface $grammar)
    {
        $name = $index->get('name') ?: $this->createIndexName($index->get('type'), $index->get('columns'));

        return new Index($name, $index->get('columns'), $grammar->getIndexType($index));
    }
protected function fluentToIndex(Definition $index, DialectInterface $grammar)
    {
        $name = $index->get('name') ?: $this->createIndexName($index->get('type'), $index->get('columns'));

        return new Index($name, $index->get('columns'), $grammar->getIndexType($index));
    }
Transform a Fluent(Index) to a \Phalcon\Db\Index

@param \Neutrino\Database\Schema\Definition                   $index
@param \Neutrino\Database\Schema\DialectInterface $grammar

@return \Phalcon\Db\Index