{% import '@lib/di.twig' as di %}
services:
  {{ machine_name }}.{{ parameter_type }}_param_converter:
    class: Drupal\{{ machine_name }}\{{ class }}
{% if services %}
    arguments: [{{ di.arguments(services) }}]
{% endif %}
    tags:
      - { name: paramconverter }
