original_string: private function createCreateForm(Episode $entity)
      {
          $form = $this->createForm(EpisodeType::class, $entity, array(
              'action' => $this->generateUrl('oktolab_episode_create'),
              'method' => 'POST',
          ));
  
          $form->add(
              'submit',
              SubmitType::class,
              [
                  'label' => 'oktolab_media.new_episode_create_button',
                  'attr' => ['class' => 'btn btn-primary']
              ]
          );
  
          return $form;
      }
code: private function createCreateForm(Episode $entity)
      {
          $form = $this->createForm(EpisodeType::class, $entity, array(
              'action' => $this->generateUrl('oktolab_episode_create'),
              'method' => 'POST',
          ));
  
          $form->add(
              'submit',
              SubmitType::class,
              [
                  'label' => 'oktolab_media.new_episode_create_button',
                  'attr' => ['class' => 'btn btn-primary']
              ]
          );
  
          return $form;
      }
code_tokens: private function createCreateForm ( Episode $ entity ) { $ form = $ this -> createForm ( EpisodeType :: class , $ entity , array ( 'action' => $ this -> generateUrl ( 'oktolab_episode_create' ) , 'method' => 'POST' , ) ) ; $ form -> add ( 'submit' , SubmitType :: class , [ 'label' => 'oktolab_media.new_episode_create_button' , 'attr' => [ 'class' => 'btn btn-primary' ] ] ) ; return $ form ; }
docstring: Creates a form to create a Episode entity.
  
  @param Episode $entity The entity
  
  @return \Symfony\Component\Form\Form The form
docstring_tokens: Creates a form to create a Episode entity .