original_string: public function setForm($name, $formName, $type, array $validationGroups)
      {
          $this->forms[$name] = array('type' => $type, 'name' => $formName, 'validation_groups' => $validationGroups);
  
          return $this;
      }
code: public function setForm($name, $formName, $type, array $validationGroups)
      {
          $this->forms[$name] = array('type' => $type, 'name' => $formName, 'validation_groups' => $validationGroups);
  
          return $this;
      }
code_tokens: public function setForm ( $ name , $ formName , $ type , array $ validationGroups ) { $ this -> forms [ $ name ] = array ( 'type' => $ type , 'name' => $ formName , 'validation_groups' => $ validationGroups ) ; return $ this ; }
docstring: Set the form configuration.
  
  @param string $name
  @param string $formName
  @param string $type
  @param array  $validationGroups
  
  @return static
docstring_tokens: Set the form configuration .