示例#1
0
 /**
  * Remove sectionMedias
  *
  * @param \Softlogo\CMSBundle\Entity\SectionMedia $sectionMedias
  */
 public function removeSectionMedia(\Softlogo\CMSBundle\Entity\SectionMedia $sectionMedias)
 {
     $this->sectionMedias->removeElement($sectionMedias);
 }
示例#2
0
 /**
  * Add sectionMedias
  *
  * @param \Softlogo\CMSBundle\Entity\SectionMedia $sectionMedias
  * @return Section
  */
 public function addSectionMedia(\Softlogo\CMSBundle\Entity\SectionMedia $sectionMedias)
 {
     $sectionMedias->setSection($this);
     $this->sectionMedias[] = $sectionMedias;
     return $this;
 }