lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
public function getDropIndexSQL($index, $table = null)
    {
        if ($index instanceof Index) {
            $index = $index->getQuotedName($this);
        } elseif (! is_string($index)) {
            throw new InvalidArgumentException('AbstractPlatform::getDropIndexSQL() expects $index parameter to be string or \Doctrine\DBAL\Schema\Index.');
        }

        return 'DROP INDEX ' . $index;
    }
public function getDropIndexSQL($index, $table = null)
    {
        if ($index instanceof Index) {
            $index = $index->getQuotedName($this);
        } elseif (! is_string($index)) {
            throw new InvalidArgumentException('AbstractPlatform::getDropIndexSQL() expects $index parameter to be string or \Doctrine\DBAL\Schema\Index.');
        }

        return 'DROP INDEX ' . $index;
    }
public function getDropIndexSQL ( $ index , $ table = null ) { if ( $ index instanceof Index ) { $ index = $ index -> getQuotedName ( $ this ) ; } elseif ( ! is_string ( $ index ) ) { throw new InvalidArgumentException ( 'AbstractPlatform::getDropIndexSQL() expects $index parameter to be string or \Doctrine\DBAL\Schema\Index.' ) ; } return 'DROP INDEX ' . $ index ; }
Returns the SQL to drop an index from a table.

@param Index|string $index
@param Table|string $table

@return string

@throws InvalidArgumentException
Returns the SQL to drop an index from a table .