public createFormBuilder ( mixed $data = null, array $options = [] ) : |
||
$data | mixed | The initial data for the form |
$options | array | Options for the form |
return |
public function createFormBuilder($data = null, array $options = array())
{
return $this->get('form.factory')->createBuilder('form', $data, $options);
}