public function createAndBindForm(Request $request, $type, $data = null, array $options = array())
    {
      $form = $this->createForm($type, $data, $options);
      $form->submit($request);
      return $form;
    }
public function createAndBindForm(Request $request, $type, $data = null, array $options = array())
    {
      $form = $this->createForm($type, $data, $options);
      $form->submit($request);
      return $form;
    }
public function createAndBindForm ( Request $ request , $ type , $ data = null , array $ options = array ( ) ) { $ form = $ this -> createForm ( $ type , $ data , $ options ) ; $ form -> submit ( $ request ) ; return $ form ; }
Creates, binds and returns a Form instance from the type of the form.

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

@return Form
Creates binds and returns a Form instance from the type of the form .