public function addForeignColumnName($foreignColumnName)
    {
        if (!is_string($foreignColumnName) || (strlen($foreignColumnName) <= 0)) {
            throw SchemaException::invalidForeignKeyForeignColumnName($this->getName());
        }

        $this->foreignColumnNames[] = $foreignColumnName;
    }
public function addForeignColumnName($foreignColumnName)
    {
        if (!is_string($foreignColumnName) || (strlen($foreignColumnName) <= 0)) {
            throw SchemaException::invalidForeignKeyForeignColumnName($this->getName());
        }

        $this->foreignColumnNames[] = $foreignColumnName;
    }
public function addForeignColumnName ( $ foreignColumnName ) { if ( ! is_string ( $ foreignColumnName ) || ( strlen ( $ foreignColumnName ) <= 0 ) ) { throw SchemaException :: invalidForeignKeyForeignColumnName ( $ this -> getName ( ) ) ; } $ this -> foreignColumnNames [ ] = $ foreignColumnName ; }
Adds a foreign column name to the foreign key.

@param string $foreignColumnName The foreign column name to add.

@throws \Fridge\DBAL\Exception\SchemaException If the foreign column name is not a valid string.
Adds a foreign column name to the foreign key .