src/FormHelper.php
public function getFormByName($name, InputInterface $input, OutputInterface $output)
    {
        if (!isset($this->forms[$name])) {
            throw new \Exception(
                sprintf('Unable to find %s form.', $name)
            );
        }

        return $this->createInstance($input, $output, $this->forms[$name]);
    }
public function getFormByName($name, InputInterface $input, OutputInterface $output)
    {
        if (!isset($this->forms[$name])) {
            throw new \Exception(
                sprintf('Unable to find %s form.', $name)
            );
        }

        return $this->createInstance($input, $output, $this->forms[$name]);
    }
public function getFormByName ( $ name , InputInterface $ input , OutputInterface $ output ) { if ( ! isset ( $ this -> forms [ $ name ] ) ) { throw new \ Exception ( sprintf ( 'Unable to find %s form.' , $ name ) ) ; } return $ this -> createInstance ( $ input , $ output , $ this -> forms [ $ name ] ) ; }
Get form by name.

@param string $name
The form name.
@param \Symfony\Component\Console\Input\InputInterface $input
The console input.
@param \Symfony\Component\Console\Output\OutputInterface $output
The console output.

@return \Droath\ConsoleForm\Form
The form instance.
Get form by name .