lib/Doctrine/DBAL/Schema/Table.php
public function hasForeignKey($constraintName)
    {
        $constraintName = $this->normalizeIdentifier($constraintName);

        return isset($this->_fkConstraints[$constraintName]);
    }
public function hasForeignKey($constraintName)
    {
        $constraintName = $this->normalizeIdentifier($constraintName);

        return isset($this->_fkConstraints[$constraintName]);
    }
public function hasForeignKey ( $ constraintName ) { $ constraintName = $ this -> normalizeIdentifier ( $ constraintName ) ; return isset ( $ this -> _fkConstraints [ $ constraintName ] ) ; }
Returns whether this table has a foreign key constraint with the given name.

@param string $constraintName

@return bool
Returns whether this table has a foreign key constraint with the given name .