PHP Class Matthias\SymfonyConsoleForm\Bridge\Interaction\CollectionInteractor

Inheritance: implements Matthias\SymfonyConsoleForm\Bridge\Interaction\FormInteractor
Show file Open project: matthiasnoback/symfony-console-form

Public Methods

Method Description
__construct ( Matthias\SymfonyConsoleForm\Bridge\Interaction\FormInteractor $formInteractor )
interactWith ( Symfony\Component\Form\FormInterface $form, Symfony\Component\Console\Helper\HelperSet $helperSet, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array

Private Methods

Method Description
askIfContinueToAdd ( Symfony\Component\Console\Helper\HelperSet $helperSet, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : string
printHeader ( Symfony\Component\Form\FormInterface $form, Symfony\Component\Console\Output\OutputInterface $output )
questionHelper ( Symfony\Component\Console\Helper\HelperSet $helperSet ) : Symfony\Component\Console\Helper\QuestionHelper

Method Details

__construct() public method

public __construct ( Matthias\SymfonyConsoleForm\Bridge\Interaction\FormInteractor $formInteractor )
$formInteractor Matthias\SymfonyConsoleForm\Bridge\Interaction\FormInteractor

interactWith() public method

public interactWith ( Symfony\Component\Form\FormInterface $form, Symfony\Component\Console\Helper\HelperSet $helperSet, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array
$form Symfony\Component\Form\FormInterface
$helperSet Symfony\Component\Console\Helper\HelperSet
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return array