src/Schema/AbstractForeignKey.php
public function references(
        string $table,
        string $column = 'id',
        bool $forcePrefix = true
    ): AbstractForeignKey {
        $this->foreignTable = ($forcePrefix ? $this->tablePrefix : '') . $table;
        $this->foreignKey = $column;

        return $this;
    }
public function references(
        string $table,
        string $column = 'id',
        bool $forcePrefix = true
    ): AbstractForeignKey {
        $this->foreignTable = ($forcePrefix ? $this->tablePrefix : '') . $table;
        $this->foreignKey = $column;

        return $this;
    }
public function references ( string $ table , string $ column = 'id' , bool $ forcePrefix = true ) : AbstractForeignKey { $ this -> foreignTable = ( $ forcePrefix ? $ this -> tablePrefix : '' ) . $ table ; $ this -> foreignKey = $ column ; return $ this ; }
Set foreign table name and key local column must reference to. Make sure local and foreign
column types are identical.

@param string $table Foreign table name with or without database prefix (see 3rd
argument).
@param string $column Foreign key name (id by default).
@param bool   $forcePrefix When true foreign table will get same prefix as table being
modified.

@return self
Set foreign table name and key local column must reference to . Make sure local and foreign column types are identical .