public function removeStep(Step $step)
    {
        if ($this->steps->contains($step)) {
            $this->steps->removeElement($step);
        }

        return $this;
    }
public function removeStep(Step $step)
    {
        if ($this->steps->contains($step)) {
            $this->steps->removeElement($step);
        }

        return $this;
    }
public function removeStep ( Step $ step ) { if ( $ this -> steps -> contains ( $ step ) ) { $ this -> steps -> removeElement ( $ step ) ; } return $ this ; }
Removes a Step from the Exercise.

@param Step $step

@return $this
Removes a Step from the Exercise .