Exemple #1
0
 /**
  *
  * @param WizardStep $step
  * @return Wizard
  */
 public function addStep($step)
 {
     $this->steps[$step->getId()] = $step;
     $step->setStep(count($this->steps));
     return $this;
 }