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

    silktide_reposition.metadataProvider:
      aliasOf: "@repositoryManager"

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

    silktide_reposition.metadataProvider:
        aliasOf: "@repositoryManager"

#### stub services to be aliased by modules

    defaultEntityFactory:
        class: Silktide\Reposition\Hydrator\EntityFactoryInterface

    defaultHydrator:
        class: Silktide\Reposition\Hydrator\HydratorInterface

    defaultMetadataFactory:
        class: Silktide\Reposition\Metadata\EntityMetadataFactoryInterface

    defaultNormaliser:
        class: Silktide\Reposition\Normliaser\NormaliserInterface

    defaultStorage:
        class: Silktide\Reposition\Storage\StorageInterface
Add stubs for all services that are intended to be aliased by reposition modules
Add stubs for all services that are intended to be aliased by reposition modules
