<commit_before><?php
/**
 * @file
 * Containt Drupal\AppConsole\Generator\FormGenerator.
 */
namespace Drupal\AppConsole\Generator;

class FormGenerator extends Generator
{
  /**
   * @param  $module
   * @param  $class_name
   * @param  $services
   * @param  $inputs
   * @param  $update_routing
   */
  public function generate($module, $class_name, $services, $inputs, $update_routing)
  {

    $parameters = array(
      'class_name' => $class_name,
      'services' => $services,
      'inputs' => $inputs,
      'module_name' => $module,
      'form_id' => $this->camelCaseToMachineName($class_name),
    );

    $this->renderFile(
      'module/module.form.php.twig',
      $this->getFormPath($module).'/'.$class_name.'.php',
      $parameters
    );
<commit_msg>Add form-id command argument<commit_after><?php
/**
 * @file
 * Containt Drupal\AppConsole\Generator\FormGenerator.
 */
namespace Drupal\AppConsole\Generator;

class FormGenerator extends Generator
{
  /**
   * @param  $module
   * @param  $class_name
   * @param  $services
   * @param  $inputs
   * @param  $form_id
   * @param  $update_routing
   */
  public function generate($module, $class_name, $services, $inputs, $update_routing, $form_id)
  {
    $parameters = array(
      'class_name' => $class_name,
      'services' => $services,
      'inputs' => $inputs,
      'module_name' => $module,
      'form_id' => $form_id
    );

    $this->renderFile(
      'module/module.form.php.twig',
      $this->getFormPath($module).'/'.$class_name.'.php',
      $parameters
    );

{'fraction_non_alphanumeric': 0.1596909207984546, 'fraction_numerical': 0.0, 'mean_word_length': 3.078740157480315, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2467394', 'n_tokens_mistral': 518, 'n_tokens_neox': 530, 'n_words': 92}