/** * @param LearnerGroupInterface $instructorUserGroup */ public function addInstructorUserGroup(LearnerGroupInterface $instructorUserGroup) { $this->instructorUserGroups->add($instructorUserGroup); }
/** * @param LearnerGroupInterface $child */ public function removeChild(LearnerGroupInterface $child) { $this->children->removeElement($child); }
/** * @param LearnerGroupInterface $learnerGroup */ public function addLearnerGroup(LearnerGroupInterface $learnerGroup) { $this->learnerGroups->add($learnerGroup); }
/** * @param LearnerGroupInterface $learnerGroup */ public function removeLearnerGroup(LearnerGroupInterface $learnerGroup) { if ($this->learnerGroups->contains($learnerGroup)) { $this->learnerGroups->removeElement($learnerGroup); $learnerGroup->removeInstructorGroup($this); } }
/** * @param LearnerGroupInterface $child */ public function addChild(LearnerGroupInterface $child) { $this->children->add($child); }
/** * @param LearnerGroupInterface $instructedLearnerGroup */ public function removeInstructedLearnerGroup(LearnerGroupInterface $instructedLearnerGroup) { $this->instructedLearnerGroups->removeElement($instructedLearnerGroup); $instructedLearnerGroup->removeInstructor($this); }