Exemplo n.º 1
0
 /**
  * @param CourseLearningMaterialInterface $courseLearningMaterial
  */
 public function addCourseLearningMaterial(CourseLearningMaterialInterface $courseLearningMaterial)
 {
     $this->courseLearningMaterials->add($courseLearningMaterial);
 }
Exemplo n.º 2
0
 /**
  * @param CourseLearningMaterialInterface $courseLearningMaterial
  */
 public function removeCourseLearningMaterial(CourseLearningMaterialInterface $courseLearningMaterial)
 {
     $this->courseLearningMaterials->removeElement($courseLearningMaterial);
 }
Exemplo n.º 3
0
 /**
  * @inheritdoc
  */
 public function removeLearningMaterial(CourseLearningMaterialInterface $learningMaterial)
 {
     if ($this->learningMaterials->contains($learningMaterial)) {
         $this->learningMaterials->removeElement($learningMaterial);
     }
 }
Exemplo n.º 4
0
 /**
  * @param CourseLearningMaterialInterface $courseLearningMaterial
  */
 public function removeCourseLearningMaterial(CourseLearningMaterialInterface $courseLearningMaterial)
 {
     if ($this->courseLearningMaterials->contains($courseLearningMaterial)) {
         $this->courseLearningMaterials->removeElement($courseLearningMaterial);
         $courseLearningMaterial->removeMeshDescriptor($this);
     }
 }