Пример #1
0
 /**
  * @param JobInterface $child
  */
 public function add(JobInterface $child)
 {
     $child->setParent($this);
     $this->children[$child->getName()] = $child;
 }