Example #1
0
 /**
  * Add child
  *
  * @param Role $child
  *
  * @return Role
  */
 public function addChild(Role $child)
 {
     $this->childs[] = $child;
     $child->addParent($this);
     return $this;
 }