plugin/path/Entity/Path/Path.php
public function addStep(Step $step)
    {
        if (!$this->steps->contains($step)) {
            $this->steps->add($step);
        }

        return $this;
    }
public function addStep(Step $step)
    {
        if (!$this->steps->contains($step)) {
            $this->steps->add($step);
        }

        return $this;
    }
public function addStep ( Step $ step ) { if ( ! $ this -> steps -> contains ( $ step ) ) { $ this -> steps -> add ( $ step ) ; } return $ this ; }
Add step.

@param Step $step

@return Path
Add step .