Bolt\Controller\Base::createFormBuilder PHP Метод

createFormBuilder() защищенный Метод

Returns a form builder.
protected createFormBuilder ( string | Symfony\Component\Form\FormTypeInterface $type = FormType::class, mixed $data = null, array $options = [] ) : Symfony\Component\Form\FormBuilderInterface
$type string | Symfony\Component\Form\FormTypeInterface The type of the form
$data mixed The initial data
$options array The options
Результат Symfony\Component\Form\FormBuilderInterface The form builder
    protected function createFormBuilder($type = FormType::class, $data = null, array $options = [])
    {
        return $this->app['form.factory']->createBuilder($type, $data, $options);
    }