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