original_string: private function createCreateForm(UserGroup $entity)
      {
          $options = array ('action' => $this->generateUrl('admin_usergroup_create'),
                            'method' => 'POST'
                           );
  
          $form = $this->createForm(new UserGroupType(), $entity, $options);
  
          return $form;
      }
code: private function createCreateForm(UserGroup $entity)
      {
          $options = array ('action' => $this->generateUrl('admin_usergroup_create'),
                            'method' => 'POST'
                           );
  
          $form = $this->createForm(new UserGroupType(), $entity, $options);
  
          return $form;
      }
code_tokens: private function createCreateForm ( UserGroup $ entity ) { $ options = array ( 'action' => $ this -> generateUrl ( 'admin_usergroup_create' ) , 'method' => 'POST' ) ; $ form = $ this -> createForm ( new UserGroupType ( ) , $ entity , $ options ) ; return $ form ; }
docstring: Creates a form to create a UserGroup entity.
  
  @param UserGroup $entity The entity
  
  @return \Symfony\Component\Form\Form The form
docstring_tokens: Creates a form to create a UserGroup entity .