public function addSlide(Slide $slide)
    {
        if (!$this->slides->contains($slide)) {
            $this->slides->add($slide);
            $slide->setSlideShow($this);
        }

        return $this;
    }
public function addSlide(Slide $slide)
    {
        if (!$this->slides->contains($slide)) {
            $this->slides->add($slide);
            $slide->setSlideShow($this);
        }

        return $this;
    }
public function addSlide ( Slide $ slide ) { if ( ! $ this -> slides -> contains ( $ slide ) ) { $ this -> slides -> add ( $ slide ) ; $ slide -> setSlideShow ( $ this ) ; } return $ this ; }
Adds the slide.

@param Slide $slide

@return SlideShow
Adds the slide .