/** * @param Step $step */ public function addStep(Step $step) { $step->prepare(); $this->steps[] = $step; }