Beispiel #1
0
 /**
  * @param ObjectiveInterface $child
  */
 public function addChild(ObjectiveInterface $child)
 {
     $this->children->add($child);
 }
Beispiel #2
0
 /**
  * @param ObjectiveInterface $objective
  */
 public function addObjective(ObjectiveInterface $objective)
 {
     $this->objectives->add($objective);
 }
Beispiel #3
0
 /**
  * @param ObjectiveInterface $child
  */
 public function addChild(ObjectiveInterface $child)
 {
     if (!$this->children->contains($child)) {
         $this->children->add($child);
     }
 }
Beispiel #4
0
 /**
  * @inheritdoc
  */
 public function addObjective(ObjectiveInterface $objective)
 {
     if (!$this->objectives->contains($objective)) {
         $this->objectives->add($objective);
         $objective->addCourse($this);
     }
 }
Beispiel #5
0
 /**
  * @inheritdoc
  */
 public function addObjective(ObjectiveInterface $objective)
 {
     if (!$this->objectives->contains($objective)) {
         $this->objectives->add($objective);
         $objective->addMeshDescriptor($this);
     }
 }