FluidTYPO3\Flux\Form\AbstractFormComponent::createWizard PHP Method

createWizard() public method

public createWizard ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\WizardInterface
$type string
$name string
$label string
return FluidTYPO3\Flux\Form\WizardInterface
    public function createWizard($type, $name, $label = NULL)
    {
        return $this->createComponent('FluidTYPO3\\Flux\\Form\\Wizard', $type, $name, $label);
    }

Usage Example

 /**
  * @param string $type
  * @param string $name
  * @param string $label
  * @return WizardInterface
  */
 public function createWizard($type, $name, $label = NULL)
 {
     $wizard = parent::createWizard($type, $name, $label);
     $this->add($wizard);
     return $wizard;
 }