/**
  * @param CourseLearningMaterialInterface $courseLearningMaterial
  */
 public function removeCourseLearningMaterial(CourseLearningMaterialInterface $courseLearningMaterial)
 {
     $this->courseLearningMaterials->removeElement($courseLearningMaterial);
 }
Exemple #2
0
 /**
  * @inheritdoc
  */
 public function removeLearningMaterial(CourseLearningMaterialInterface $learningMaterial)
 {
     if ($this->learningMaterials->contains($learningMaterial)) {
         $this->learningMaterials->removeElement($learningMaterial);
     }
 }
Exemple #3
0
 /**
  * @param CourseLearningMaterialInterface $courseLearningMaterial
  */
 public function removeCourseLearningMaterial(CourseLearningMaterialInterface $courseLearningMaterial)
 {
     if ($this->courseLearningMaterials->contains($courseLearningMaterial)) {
         $this->courseLearningMaterials->removeElement($courseLearningMaterial);
         $courseLearningMaterial->removeMeshDescriptor($this);
     }
 }