Flint\Controller\Controller::createForm PHP Метод

createForm() публичный Метод

Creates and returns a Form instance from the type of the form.
public createForm ( string | FormTypeInterface $type, mixed $data = null, array $options = [] ) : Form
$type string | FormTypeInterface The built type of the form
$data mixed The initial data for the form
$options array Options for the form
Результат Symfony\Component\Form\Form
    public function createForm($type, $data = null, array $options = array())
    {
        return $this->get('form.factory')->create($type, $data, $options);
    }