services:
  social_event_max_enroll.overrider:
    class: Drupal\social_event_max_enroll\EventMaxEnrollOverride
    arguments: ['@config.factory']
    tags:
      - { name: config.factory.override, priority: 5 }
  social_event_max_enroll.service:
    class: Drupal\social_event_max_enroll\Service\EventMaxEnrollService
    arguments:
      - '@entity_type.manager'
      - '@config.factory'
      - '@social_event.enroll'
  social_event_max_enroll.route_subscriber:
    class: Drupal\social_event_max_enroll\Routing\RouteSubscriber
    tags:
      - { name: event_subscriber }
