Exemplo n.º 1
0
 /**
  * @param LearnerGroupInterface $instructorUserGroup
  */
 public function addInstructorUserGroup(LearnerGroupInterface $instructorUserGroup)
 {
     $this->instructorUserGroups->add($instructorUserGroup);
 }
Exemplo n.º 2
0
 /**
  * @param LearnerGroupInterface $child
  */
 public function removeChild(LearnerGroupInterface $child)
 {
     $this->children->removeElement($child);
 }
Exemplo n.º 3
0
 /**
  * @param LearnerGroupInterface $learnerGroup
  */
 public function addLearnerGroup(LearnerGroupInterface $learnerGroup)
 {
     $this->learnerGroups->add($learnerGroup);
 }
Exemplo n.º 4
0
 /**
  * @param LearnerGroupInterface $learnerGroup
  */
 public function removeLearnerGroup(LearnerGroupInterface $learnerGroup)
 {
     if ($this->learnerGroups->contains($learnerGroup)) {
         $this->learnerGroups->removeElement($learnerGroup);
         $learnerGroup->removeInstructorGroup($this);
     }
 }
Exemplo n.º 5
0
 /**
  * @param LearnerGroupInterface $child
  */
 public function addChild(LearnerGroupInterface $child)
 {
     $this->children->add($child);
 }
Exemplo n.º 6
0
 /**
  * @param LearnerGroupInterface $instructedLearnerGroup
  */
 public function removeInstructedLearnerGroup(LearnerGroupInterface $instructedLearnerGroup)
 {
     $this->instructedLearnerGroups->removeElement($instructedLearnerGroup);
     $instructedLearnerGroup->removeInstructor($this);
 }