public function addAsRelationSource(ForeignKey $foreignKey)
    {
        $foreignKey->isSource(true);
        $this->relationSources[] = $foreignKey;

        return $this;
    }
public function addAsRelationSource(ForeignKey $foreignKey)
    {
        $foreignKey->isSource(true);
        $this->relationSources[] = $foreignKey;

        return $this;
    }
public function addAsRelationSource ( ForeignKey $ foreignKey ) { $ foreignKey -> isSource ( true ) ; $ this -> relationSources [ ] = $ foreignKey ; return $ this ; }
Adds a foreign key, where this table is the source.
@param ForeignKey $foreignKey
@return TableMigration
Adds a foreign key where this table is the source .