/**
  * @param CurriculumInventorySequenceBlockInterface $child
  */
 public function addChild(CurriculumInventorySequenceBlockInterface $child)
 {
     if (!$this->children->contains($child)) {
         $this->children->add($child);
     }
 }
Esempio n. 2
0
 /**
  * @param CurriculumInventorySequenceBlockInterface $sequenceBlock
  */
 public function addSequenceBlock(CurriculumInventorySequenceBlockInterface $sequenceBlock)
 {
     $this->sequenceBlocks->add($sequenceBlock);
 }