Doctrine\DBAL\Platforms\OraclePlatform::getDropForeignKeySQL PHP Method

getDropForeignKeySQL() public method

{@inheritDoc}
public getDropForeignKeySQL ( $foreignKey, $table )
    public function getDropForeignKeySQL($foreignKey, $table)
    {
        if (!$foreignKey instanceof ForeignKeyConstraint) {
            $foreignKey = new Identifier($foreignKey);
        }
        if (!$table instanceof Table) {
            $table = new Identifier($table);
        }
        $foreignKey = $foreignKey->getQuotedName($this);
        $table = $table->getQuotedName($this);
        return 'ALTER TABLE ' . $table . ' DROP CONSTRAINT ' . $foreignKey;
    }
OraclePlatform