/**
  * Up Material in Multimedia Object
  */
 public function upMaterialInMultimediaObject(MultimediaObject $multimediaObject, $materialId)
 {
     $multimediaObject->upMaterialById($materialId);
     $this->dm->persist($multimediaObject);
     $this->dm->flush();
     return $multimediaObject;
 }