public function removeSlide(Slide $slide)
    {
        if ($this->slides->contains($slide)) {
            $this->slides->removeElement($slide);
            $slide->setSlideShow(null);
        }

        return $this;
    }
public function removeSlide(Slide $slide)
    {
        if ($this->slides->contains($slide)) {
            $this->slides->removeElement($slide);
            $slide->setSlideShow(null);
        }

        return $this;
    }
public function removeSlide ( Slide $ slide ) { if ( $ this -> slides -> contains ( $ slide ) ) { $ this -> slides -> removeElement ( $ slide ) ; $ slide -> setSlideShow ( null ) ; } return $ this ; }
Removes the slide.

@param Slide $slide

@return SlideShow
Removes the slide .