/**
  * Add items
  *
  * @param \Victoire\Widget\ListingBundle\Entity\WidgetListingItem $item
  *
  * @return WidgetListing
  */
 public function addItem(\Victoire\Widget\ListingBundle\Entity\WidgetListingItem $item)
 {
     $item->setListing($this);
     $item->setPage($this->getPage());
     $item->setSlot($this->getSlot());
     $item->setMode($this->getMode());
     $this->items[] = $item;
     return $this;
 }
 /**
  * Add sliderItems.
  *
  * @param WidgetListingItem $sliderItem
  *
  * @return WidgetListing
  */
 public function addSliderItem(WidgetListingItem $sliderItem)
 {
     $sliderItem->setSlider($this);
     $this->sliderItems[] = $sliderItem;
     return $this;
 }