public add ( FluidTYPO3\Flux\Form\WizardInterface $wizard ) : FluidTYPO3\Flux\Form\FieldInterface | ||
$wizard | FluidTYPO3\Flux\Form\WizardInterface | |
return | FluidTYPO3\Flux\Form\FieldInterface |
public function add(WizardInterface $wizard)
{
if (FALSE === $this->wizards->contains($wizard)) {
$this->wizards->attach($wizard);
$wizard->setParent($this);
}
return $this;
}