lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
public function getForeignKeyDeclarationSQL(ForeignKeyConstraint $foreignKey)
    {
        $sql  = $this->getForeignKeyBaseDeclarationSQL($foreignKey);
        $sql .= $this->getAdvancedForeignKeyOptionsSQL($foreignKey);

        return $sql;
    }
public function getForeignKeyDeclarationSQL(ForeignKeyConstraint $foreignKey)
    {
        $sql  = $this->getForeignKeyBaseDeclarationSQL($foreignKey);
        $sql .= $this->getAdvancedForeignKeyOptionsSQL($foreignKey);

        return $sql;
    }
public function getForeignKeyDeclarationSQL ( ForeignKeyConstraint $ foreignKey ) { $ sql = $ this -> getForeignKeyBaseDeclarationSQL ( $ foreignKey ) ; $ sql .= $ this -> getAdvancedForeignKeyOptionsSQL ( $ foreignKey ) ; return $ sql ; }
Obtain DBMS specific SQL code portion needed to set the FOREIGN KEY constraint
of a field declaration to be used in statements like CREATE TABLE.

@return string DBMS specific SQL code portion needed to set the FOREIGN KEY constraint
of a field declaration.
Obtain DBMS specific SQL code portion needed to set the FOREIGN KEY constraint of a field declaration to be used in statements like CREATE TABLE .