Beispiel #1
0
 /**
  * @inheritdoc
  */
 public function removeCourse(CourseInterface $course)
 {
     if ($this->courses->contains($course)) {
         $this->courses->removeElement($course);
         $course->removeTerm($this);
     }
 }
Beispiel #2
0
 /**
  * @param CourseInterface $course
  */
 public function removeAdministeredCourse(CourseInterface $course)
 {
     $this->administeredCourses->removeElement($course);
     $course->removeAdministrator($this);
 }