示例#1
0
 public function addChildOfFather(Person $child)
 {
     $this->childrenOfFather[] = $child;
     $child->setFather($this);
     return $this;
 }