Exemple #1
0
 /**
  * @inheritdoc
  */
 public function addCourse(CourseInterface $course)
 {
     if (!$this->courses->contains($course)) {
         $this->courses->add($course);
         $course->addTerm($this);
     }
 }
Exemple #2
0
 /**
  * @param CourseInterface $course
  */
 public function addCourse(CourseInterface $course)
 {
     $this->courses->add($course);
 }
Exemple #3
0
 /**
  * @param CourseInterface $course
  */
 public function addDirectedCourse(CourseInterface $course)
 {
     $this->directedCourses->add($course);
 }
Exemple #4
0
 /**
  * @param ProgramInterface $program
  */
 public function addProgram(ProgramInterface $program)
 {
     $this->programs->add($program);
 }
Exemple #5
0
 /**
  * @inheritdoc
  */
 public function addCourse(CourseInterface $course)
 {
     if (!$this->courses->contains($course)) {
         $this->courses->add($course);
         $course->addMeshDescriptor($this);
     }
 }
Exemple #6
0
 /**
  * @param CourseInterface $course
  */
 public function addAdministeredCourse(CourseInterface $course)
 {
     if (!$this->administeredCourses->contains($course)) {
         $this->administeredCourses->add($course);
         $course->addAdministrator($this);
     }
 }