Пример #1
0
 /**
  * @inheritdoc
  */
 public function addTerm(TermInterface $term)
 {
     if (!$this->terms->contains($term)) {
         $this->terms->add($term);
         $term->addCourse($this);
     }
 }
Пример #2
0
 /**
  * @inheritdoc
  */
 public function addTerm(TermInterface $term)
 {
     if (!$this->terms->contains($term)) {
         $this->terms->add($term);
         $term->addAamcResourceType($this);
     }
 }
Пример #3
0
 /**
  * @inheritdoc
  */
 public function addChild(TermInterface $child)
 {
     if (!$this->children->contains($child)) {
         $this->children->add($child);
     }
 }