Esempio n. 1
0
 /**
  * Remove item
  *
  * @param \Devtronic\CmsBundle\Entity\MenuItem $item
  */
 public function removeItem(\Devtronic\CmsBundle\Entity\MenuItem $item)
 {
     $this->items->removeElement($item);
 }
Esempio n. 2
0
 /**
  * @param MenuItemInterface $item
  * @return $this
  */
 public function removeChild(MenuItemInterface $item)
 {
     $this->children->removeElement($item);
     return $this;
 }
Esempio n. 3
0
 /**
  * @param MenuItem $child
  */
 public function removeChild(MenuItem $child)
 {
     $this->children->removeElement($child);
 }