-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathservices.yaml
More file actions
52 lines (42 loc) · 2.31 KB
/
services.yaml
File metadata and controls
52 lines (42 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
services:
# default configuration for services in *this* file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../src/'
exclude:
- '../src/DependencyInjection/'
- '../src/Entity/'
- '../src/Kernel.php'
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
App\Collaboration\Cart\Persistence\Gateway\DatabaseGateway:
arguments:
$connection: '@ibexa.persistence.connection'
tags:
- name: 'ibexa.collaboration.persistence.session.gateway'
discriminator: !php/const App\Collaboration\Cart\Persistence\Gateway\DatabaseGateway::DISCRIMINATOR
App\Collaboration\Cart\Persistence\Mapper:
tags:
- name: 'ibexa.collaboration.persistence.session.mapper'
discriminator: !php/const App\Collaboration\Cart\Persistence\Gateway\DatabaseGateway::DISCRIMINATOR
App\Collaboration\Cart\Mapper\CartSessionDomainMapper:
tags:
- name: 'ibexa.collaboration.service.session.domain.mapper'
type: App\Collaboration\Cart\Persistence\Values\CartSession
App\Collaboration\Cart\Mapper\CartSessionPersistenceMapper:
tags:
- name: 'ibexa.collaboration.service.session.persistence.mapper'
type: !php/const App\Collaboration\Cart\CartSessionType::IDENTIFIER
App\Collaboration\Cart\PermissionResolverDecorator:
decorates: Ibexa\Contracts\ProductCatalog\PermissionResolverInterface
App\Collaboration\Cart\CartResolverDecorator:
decorates: Ibexa\Contracts\Cart\CartResolverInterface