<commit_before>{% extends "base/class.php.twig" %}

{% block file_path %}
Drupal\{{module}}\{{ class_name }}.
{% endblock %}

{% block namespace_class %}
namespace Drupal\{{module}};
{% endblock %}

{% block class_declaration %}
class {{ class_name }}
{% endblock %}

{% block class_construct %}
  public function __construct({{ servicesAsParameters(services)|join(', ') }})
  {
{{ serviceClassInitialization(services) }}
  }
{% endblock %}<commit_msg>#447 - generate:service : bring output into compliance with Drupal coding standards<commit_after>{% extends "base/class.php.twig" %}

{% block file_path %}
Drupal\{{module}}\{{ class_name }}.
{% endblock %}

{% block namespace_class %}
namespace Drupal\{{module}};
{% endblock %}

{% block class_declaration %}
/**
 * Class {{ class_name }}.
 *
 * @package Drupal\{{module}}
 */
class {{ class_name }} {% endblock %}
{% block class_construct %}
  /**
   * Constructor.
   */
  public function __construct({{ servicesAsParameters(services)|join(', ') }}) {
{{ serviceClassInitialization(services) }}
  }
{% endblock %}
{'fraction_non_alphanumeric': 0.19083255378858746, 'fraction_numerical': 0.002806361085126286, 'mean_word_length': 4.944444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4025957', 'n_tokens_mistral': 359, 'n_tokens_neox': 326, 'n_words': 66}