services:
    # default configuration for services in *this* file
    _defaults:
        # automatically injects dependencies in your services
        autowire: true
        # automatically registers your services as commands, event subscribers, etc.
        autoconfigure: true
        # this means you cannot fetch services directly from the container via $container->get()
        # if you need to do this, you can override this setting on individual services
        public: true

    App\Tests\E2E\Rest\src\:
        resource: '../../../tests/E2E/Rest/src/*'

    App\Tests\E2E\Rest\src\Controller\:
        resource: '../../../tests/E2E/Rest/src/Controller/*'
        tags: [ 'controller.service_arguments' ]

    App\Tests\E2E\Rest\Traits\Actions\src\:
        resource: '../../../tests/E2E/Rest/Traits/Actions/src/*'
        tags: [ 'controller.service_arguments' ]

    App\Tests\Integration\Helpers\src\:
        resource: '../../../tests/Integration/Helpers/src/*'


services:
    # default configuration for services in *this* file
    _defaults:
        # automatically injects dependencies in your services
        autowire: true
        # automatically registers your services as commands, event subscribers, etc.
        autoconfigure: true
        # this means you cannot fetch services directly from the container via $container->get()
        # if you need to do this, you can override this setting on individual services
        public: true

    App\Tests\E2E\Rest\src\:
        resource: '../../../tests/E2E/Rest/src/*'

    App\Tests\E2E\Rest\src\Controller\:
        resource: '../../../tests/E2E/Rest/src/Controller/*'
        tags:
            - 'controller.service_arguments'
            - 'app.rest.controller'

    App\Tests\E2E\Rest\Traits\Actions\src\:
        resource: '../../../tests/E2E/Rest/Traits/Actions/src/*'
        tags:
            - 'controller.service_arguments'
            - 'app.rest.controller'

    App\Tests\Integration\Helpers\src\:
        resource: '../../../tests/Integration/Helpers/src/*'


Tag controllers that are used within tests with `app.rest.controller` tag.
tests: Tag controllers that are used within tests with `app.rest.controller` tag.
