-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservices.yml
More file actions
235 lines (185 loc) · 7.54 KB
/
Copy pathservices.yml
File metadata and controls
235 lines (185 loc) · 7.54 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
# Learn more about services, parameters and containers at
# http://symfony.com/doc/current/book/service_container.html
parameters:
app.badge_dir: "%kernel.project_dir%/../htdocs/uploads/badges"
app.members_logo_dir: "%kernel.project_dir%/../htdocs/uploads/members_logo"
app.general_meetings_dir: "%kernel.project_dir%/../htdocs/uploads/general_meetings_reports"
bluesky.api.identifier: "%bluesky_api_identifier%"
bluesky.api.app_password: "%bluesky_api_app_password%"
services:
# service_name:
# class: AppBundle\Directory\ClassName
# arguments: ["@another_service_name", "plain_value", "%parameter_name%"]
_defaults:
public: true
_instanceof:
AppBundle\SocialNetwork\Transport:
autowire: true
tags: [ 'app.social_network.transport' ]
# @see \AppBundle\DependencyInjection\TingRepositoryPass
CCMBenchmark\Ting\Repository\Repository:
tags: [ 'app.vendor.ting_repository' ]
AppBundle\Accounting\Invoices\Generator\InvoiceGeneration:
tags: [ 'app.invoice_generation_handler' ]
Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler:
public: false
arguments:
- 'mysql:host=%database_host%;port=%database_port%;dbname=%database_name%'
- db_username: '%database_user%'
db_password: '%database_password%'
lock_mode: !php/const Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler::LOCK_NONE
Laminas\Feed\Reader\Http\ClientInterface: '@PlanetePHP\SymfonyFeedClient'
AppBundle\:
resource: '../../sources/AppBundle/'
autowire: true
autoconfigure: true
public: false
AppBundle\Command\:
resource: '../../sources/AppBundle/Command/'
autowire: true
autoconfigure: true
public: true
AppBundle\Controller\:
resource: '../../sources/AppBundle/Controller/'
autowire: true
autoconfigure: true
public: true
PlanetePHP\:
resource: '../../sources/PlanetePHP'
autowire: true
autoconfigure: true
public: false
### Pages legacy - DEBUT
# Les anciennes pages ont besoin que certains services soient publics,
# car récupérés via `$container->get()`. Ils sont listés ici :
AppBundle\Event\Ticket\TicketTypeAvailability:
autowire: true
AppBundle\Event\Invoice\InvoiceService:
autowire: true
AppBundle\Event\Model\Repository\EventStatsRepository:
autowire: true
### Pages legacy - FIN
AppBundle\Controller\LegacyController:
autowire: true
autoconfigure: true
public: false
arguments:
$backOfficePages: '%app.pages_backoffice%'
AppBundle\Payment\PayboxFactory:
autowire: true
arguments: ["@router", "%paybox_domain_server%", "%paybox_secret_key%", "%paybox_site%", "%paybox_rang%", "%paybox_identifiant%"]
AppBundle\Slack\LegacyClient:
arguments: ["%slack_members_legacy_token%"]
Algolia\AlgoliaSearch\SearchClient:
factory: [ Algolia\AlgoliaSearch\SearchClient, create ]
arguments: ["%algolia_app_id%", "%algolia_backend_api_key%"]
# API/Client Meetup techletter
app.mailchimp_techletter_client:
class: DrewM\MailChimp\MailChimp
arguments: ["%mailchimp_techletter_api_key%"]
public: false
app.mailchimp_techletter_api:
class: AppBundle\Mailchimp\Mailchimp
arguments: ["@app.mailchimp_techletter_client"]
public: false
# API/Client Meetup
app.mailchimp_client:
class: DrewM\MailChimp\MailChimp
arguments: ["%mailchimp_api_key%"]
public: false
app.mailchimp_api:
class: AppBundle\Mailchimp\Mailchimp
arguments: ["@app.mailchimp_client"]
public: false
AppBundle\TechLetter\MailchimpSynchronizer:
autowire: true
arguments:
$mailchimp: '@app.mailchimp_techletter_api'
$listId: "%mailchimp_techletter_list%"
AppBundle\Mailchimp\MailchimpMembersAutoListSynchronizer:
autowire: true
arguments:
$mailchimp: '@app.mailchimp_api'
$listId: "%mailchimp_members_list%"
mailer.adapter.symfony:
class: AppBundle\Email\Mailer\Adapter\SymfonyMailerAdapter
autowire: true
AppBundle\Email\Mailer\Adapter\MailerAdapter: '@mailer.adapter.symfony'
AppBundle\Mailchimp\EventEventSubscriber:
arguments:
- '@app.mailchimp_api'
- "%mailchimp_members_list%"
tags:
- { name: kernel.event_listener, event: user.disabled, method: onUserDisabled }
CCMBenchmark\TingBundle\Repository\RepositoryFactory: '@ting'
CCMBenchmark\Ting\UnitOfWork: '@ting.unitofwork'
KnpU\OAuth2ClientBundle\Client\ClientRegistry: '@knpu.oauth2.registry'
AppBundle\Event\Ticket\QrCodeGenerator:
autowire: true
arguments: ["%qr_code_salt%"]
Afup\Site\Utils\Configuration:
autowire: true
Afup\Site\Utils\LegacyConnectionFactory: ~
Afup\Site\Utils\Base_De_Donnees:
factory: '@Afup\Site\Utils\LegacyConnectionFactory'
Afup\Site\Forum\AppelConferencier:
autowire: true
Afup\Site\Forum\Forum:
autowire: true
Afup\Site\Utils\Pays:
autowire: true
Afup\Site\Forum\Inscriptions:
autowire: true
AppBundle\Accounting\Invoices\Generator\MemberInvoiceGenerator: ~
AppBundle\Accounting\Invoices\Generator\CompanyMemberInvoiceGenerator: ~
AppBundle\Accounting\Invoices\InvoiceGenerator:
arguments:
$handlers: !tagged_iterator app.invoice_generation_handler
Afup\Site\Corporate\Page:
autowire: true
Afup\Site\Droits:
autowire: true
Parsedown:
class: Parsedown
autowire: true
geocoder:
class: Geocoder\StatefulGeocoder
arguments: ['@geocoder_provider_google_maps']
geocoder_provider_google_maps:
class: Geocoder\Provider\GoogleMaps\GoogleMaps
arguments: ['@Psr\Http\Client\ClientInterface', null, "%google_maps_api_key%"]
AppBundle\Offices\OfficeFinder:
autowire: true
arguments: ['@geocoder']
AppBundle\Subscriber\SitemapXmlSubscriber:
autowire: true
tags:
- { name: "kernel.event_subscriber", priority: 100 }
AppBundle\Doctrine\ConnectionFactory: ~
Doctrine\DBAL\Connection:
factory: '@AppBundle\Doctrine\ConnectionFactory'
arguments:
$url: 'mysql://%database_user%:%database_password%@%database_host%:%database_port%/%database_name%?charset=utf8mb4'
AppBundle\Github\GithubClient:
arguments:
$httpClient: '@http_client.github'
AppBundle\Indexation\Meetups\MeetupClient:
autowire: true
arguments:
$httpClient: '@http_client.meetup'
AppBundle\SocialNetwork\Bluesky\BlueskyTransport:
arguments:
$httpClient: '@http_client.bluesky'
$apiIdentifier: '%bluesky.api.identifier%'
$apiAppPassword: '%bluesky.api.app_password%'
AppBundle\VideoNotifier\Engine:
autowire: true
arguments:
$transports: !tagged_iterator app.social_network.transport
asset_mapper.local_public_assets_filesystem:
class: AppBundle\AssetMapper\PostCompilationCopyHandler
autowire: true
asset_mapper.compiled_asset_mapper_config_reader:
class: Symfony\Component\AssetMapper\CompiledAssetMapperConfigReader
arguments:
$directory: '%kernel.project_dir%/../htdocs/dist'