コード例 #1
0
ファイル: Table.php プロジェクト: camcima/php-mysql-diff
 /**
  * @param ForeignKey $foreignKey
  */
 public function addForeignKey(ForeignKey $foreignKey)
 {
     $foreignKey->setParentTable($this);
     $this->foreignKeys[$foreignKey->getName()] = $foreignKey;
 }