services:
  intercept_core.entity_bundle_access:
    class: Drupal\intercept_core\Access\EntityBundleAccessCheck
    arguments: ['@current_user']
    tags:
      - { name: access_check, applies_to: _entity_bundle }
  intercept_core.route_subscriber:
    class: Drupal\intercept_core\Routing\RouteSubscriber
    arguments: ['@plugin.manager.intercept_management']
    tags:
      - { name: event_subscriber }
  plugin.manager.intercept_management:
    class: Drupal\intercept_core\ManagementManager
    arguments: ['@module_handler', '@cache.discovery']
  intercept_core.reservation.manager:
    class: Drupal\intercept_core\ReservationManager
    arguments: ['@entity_type.manager', '@config.factory', '@plugin.manager.mail', '@intercept_core.utility.dates', '@token', '@current_user', '@module_handler']
  intercept_core.utility.dates:
    class: Drupal\intercept_core\Utility\Dates
    arguments: ['@config.factory']
  intercept_core.utility.redirect:
    class: Drupal\intercept_core\Utility\Redirect
    arguments: ['@config.factory', '@request_stack', '@entity_type.manager']
