public function namedForm($name, $data = null, array $options = array(), $type = null)
    {
        return $this['form.factory']->createNamedBuilder($name, $type ?: FormType::class, $data, $options);
    }
public function namedForm($name, $data = null, array $options = array(), $type = null)
    {
        return $this['form.factory']->createNamedBuilder($name, $type ?: FormType::class, $data, $options);
    }
public function namedForm ( $ name , $ data = null , array $ options = array ( ) , $ type = null ) { return $ this [ 'form.factory' ] -> createNamedBuilder ( $ name , $ type ? : FormType :: class , $ data , $ options ) ; }
Creates and returns a named form builder instance.

@param string                   $name
@param mixed                    $data    The initial data for the form
@param array                    $options Options for the form
@param string|FormTypeInterface $type    Type of the form

@return FormBuilder
Creates and returns a named form builder instance .