PHP Class Matthias\SymfonyConsoleForm\Bridge\FormFactory\ConsoleFormWithDefaultValuesAndOptionsFactory

Inheritance: implements Matthias\SymfonyConsoleForm\Bridge\FormFactory\ConsoleFormFactory
Afficher le fichier Open project: matthiasnoback/symfony-console-form

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Form\FormFactoryInterface $formFactory, Symfony\Component\Form\FormRegistryInterface $formRegistry )
create ( string | Symfony\Component\Form\FormTypeInterface $formType, Symfony\Component\Console\Input\InputInterface $input, array $options = [] ) : Form

Private Methods

Méthode Description
addDefaultOptions ( array $options ) : array

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Form\FormFactoryInterface $formFactory, Symfony\Component\Form\FormRegistryInterface $formRegistry )
$formFactory Symfony\Component\Form\FormFactoryInterface
$formRegistry Symfony\Component\Form\FormRegistryInterface

create() public méthode

public create ( string | Symfony\Component\Form\FormTypeInterface $formType, Symfony\Component\Console\Input\InputInterface $input, array $options = [] ) : Form
$formType string | Symfony\Component\Form\FormTypeInterface
$input Symfony\Component\Console\Input\InputInterface
$options array
Résultat Symfony\Component\Form\Form