services:
  abtestui.abjs_experience_storage:
    class: Drupal\abtestui\Service\AbjsExperienceStorage
    arguments:
      - '@database'
      - '@logger.factory'
      - '@state'
      - '@datetime.time'
      - '@current_user'

  abtestui.abjs_condition_storage:
    class: Drupal\abtestui\Service\AbjsConditionStorage
    arguments:
      - '@database'

  abtestui.abjs_test_storage:
    class: Drupal\abtestui\Service\AbjsTestStorage
    arguments:
      - '@database'

  abtestui.variation_storage:
    class: Drupal\abtestui\Service\VariationStorage
    arguments:
      - '@database'

  abtestui.test_storage:
    class: Drupal\abtestui\Service\TestStorage
    arguments:
      - '@database'
      - '@logger.factory'
      - '@abtestui.variation_storage'
      - '@abtestui.abjs_test_storage'
      - '@abtestui.abjs_condition_storage'
      - '@abtestui.abjs_experience_storage'

  abtestui.request_parser:
    class: Drupal\abtestui\Service\RequestParser
    arguments:
      - '@database'
      - '@request_stack'
      - '@config.factory'
