services:
  intercept_room_reservation.route_subscriber:
    class: Drupal\intercept_room_reservation\Routing\RouteSubscriber
    tags:
      - { name: event_subscriber }

  intercept_room_reservation.manager:
    class: Drupal\intercept_room_reservation\RoomReservationManager
    arguments: ['@current_user', '@entity_type.manager']

  intercept_room_reservation.certification_checker:
    class: Drupal\intercept_room_reservation\RoomReservationCertificationChecker
    arguments: ['@entity_type.manager']

  intercept_room_reservation.autocomplete_parser:
    class: Drupal\intercept_room_reservation\ParseAutocompleteInput

  intercept_room_reservation.validation_message_builder:
    class: Drupal\intercept_room_reservation\ValidationMessageBuilder
    arguments: ['@intercept_core.reservation.manager', '@entity_type.manager', '@intercept_core.utility.dates', '@current_user', '@config.factory', '@plugin.manager.intercept_ils']
