original_string: public function process(Request $request, FormInterface $form)
      {
          if ($request->isMethod('POST')) {
              $form->submit($request);
              if ($form->isValid()) {
                  return true;
              }
          }
  
          return false;
      }
code: public function process(Request $request, FormInterface $form)
      {
          if ($request->isMethod('POST')) {
              $form->submit($request);
              if ($form->isValid()) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public function process ( Request $ request , FormInterface $ form ) { if ( $ request -> isMethod ( 'POST' ) ) { $ form -> submit ( $ request ) ; if ( $ form -> isValid ( ) ) { return true ; } } return false ; }
docstring: Process text node form.
  
  @param Request $request
  @param FormInterface $form
  
  @return bool
docstring_tokens: Process text node form .