/** * Is equals foreign to another column? * * @param SchemaColumn $c * @return bool */ public function equalsForeign(SchemaColumn $c) { return $this->getForeignTable() == $c->getForeignTable() && $this->getForeignColumn() == $c->getForeignColumn(); /* && $this -> getForeignDelete() == $c -> getForeignDelete() && $this -> getForeignUpdate() == $c -> getForeignUpdate(); */ }