parameters:
    repository.namespaces: []
    repository.instances: []

    tokenDefinitions: []

services:

    queryBuilder:
        class: Silktide\Reposition\QueryBuilder\QueryBuilder
        arguments:
            - @tokenFactory

    tokenFactory:
      class: Silktide\Reposition\QueryBuilder\QueryToken\TokenFactory

    repositoryManager:
        class: Silktide\Reposition\Repository\RepositoryManager
        arguments:
            - @defaultStorage
            - @queryBuilder
            - @defaultMetadataFactory
            - %repository.namespaces%
            - %repository.instances%

    tokenParser:
        class: Silktide\Reposition\QueryBuilder\TokenParser
        arguments:
            - %tokenDefinitions%

    collectionFactory:
      class: Silktide\Reposition\Collection\CollectionFactory

parameters:
    repository.namespaces: []
    repository.instances: []

    tokenDefinitions: []

services:

    queryBuilder:
        class: Silktide\Reposition\QueryBuilder\QueryBuilder
        arguments:
            - @tokenFactory

    tokenFactory:
      class: Silktide\Reposition\QueryBuilder\QueryToken\TokenFactory

    repositoryManager:
        class: Silktide\Reposition\Repository\RepositoryManager
        arguments:
            - @defaultStorage
            - @queryBuilder
            - @defaultMetadataFactory
            - %repository.namespaces%
            - %repository.instances%

    tokenParser:
        class: Silktide\Reposition\QueryBuilder\TokenParser
        arguments:
            - %tokenDefinitions%

    collectionFactory:
      class: Silktide\Reposition\Collection\CollectionFactory

    metadataProvider:
      aliasOf: "@repositoryManager"

Add a wrapper service for the repository manager, to semantically identify it as a metadata provider
Add a wrapper service for the repository manager, to semantically identify it as a metadata provider
