示例#1
0
 /**
  * @param ForeignKey $foreignKey
  */
 public function addForeignKey(ForeignKey $foreignKey)
 {
     $foreignKey->setParentTable($this);
     $this->foreignKeys[$foreignKey->getName()] = $foreignKey;
 }