private function addForeignKeysMessage($tableName, ForeignKeyConstraint $foreignKey, $format)
    {
        $this->addMessage(
            $tableName,
            sprintf(
                $format,
                implode(', ', $foreignKey->getUnquotedLocalColumns()),
                $foreignKey->getForeignTableName(),
                implode(', ' . $foreignKey->getForeignTableName() . '.', $foreignKey->getUnquotedForeignColumns())
            )
        );
    }
private function addForeignKeysMessage($tableName, ForeignKeyConstraint $foreignKey, $format)
    {
        $this->addMessage(
            $tableName,
            sprintf(
                $format,
                implode(', ', $foreignKey->getUnquotedLocalColumns()),
                $foreignKey->getForeignTableName(),
                implode(', ' . $foreignKey->getForeignTableName() . '.', $foreignKey->getUnquotedForeignColumns())
            )
        );
    }
private function addForeignKeysMessage ( $ tableName , ForeignKeyConstraint $ foreignKey , $ format ) { $ this -> addMessage ( $ tableName , sprintf ( $ format , implode ( ', ' , $ foreignKey -> getUnquotedLocalColumns ( ) ) , $ foreignKey -> getForeignTableName ( ) , implode ( ', ' . $ foreignKey -> getForeignTableName ( ) . '.' , $ foreignKey -> getUnquotedForeignColumns ( ) ) ) ) ; }
Add a message for a foreign key change.

@param string               $tableName
@param ForeignKeyConstraint $foreignKey
@param string               $format
Add a message for a foreign key change .