/
services.yml
225 lines (222 loc) · 7.79 KB
/
services.yml
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
parameters:
phpbbgallery.core.filedir.import: %core.root_path%files/phpbbgallery/core/import/
phpbbgallery.core.filedir.import.noroot: files/phpbbgallery/core/import/
phpbbgallery.core.filedir.source: %core.root_path%files/phpbbgallery/core/source/
phpbbgallery.core.filedir.source.noroot: files/phpbbgallery/core/source/
phpbbgallery.core.filedir.medium: %core.root_path%files/phpbbgallery/core/medium/
phpbbgallery.core.filedir.mini: %core.root_path%files/phpbbgallery/core/mini/
phpbbgallery.core.file.watermark: %core.root_path%files/phpbbgallery/core/watermark.png
tables.phpbbgallery.albums: %core.table_prefix%gallery_albums
tables.phpbbgallery.contests: %core.table_prefix%gallery_contests
tables.phpbbgallery.images: %core.table_prefix%gallery_images
tables.phpbbgallery.moderators: %core.table_prefix%gallery_modscache
tables.phpbbgallery.permissions: %core.table_prefix%gallery_permissions
tables.phpbbgallery.reports: %core.table_prefix%gallery_reports
tables.phpbbgallery.roles: %core.table_prefix%gallery_roles
tables.phpbbgallery.tracking: %core.table_prefix%gallery_albums_track
tables.phpbbgallery.users: %core.table_prefix%gallery_users
services:
phpbbgallery.core.album.display:
class: phpbbgallery\core\album\display
arguments:
- @auth
- @config
- @controller.helper
- @dbal.conn
- @pagination
- @request
- @template
- @user
- @phpbbgallery.core.auth
- @phpbbgallery.core.image.utility
- @phpbbgallery.core.user
- %core.root_path%
- %core.php_ext%
- %tables.phpbbgallery.albums%
- %tables.phpbbgallery.contests%
- %tables.phpbbgallery.moderators%
- %tables.phpbbgallery.tracking%
phpbbgallery.core.album.loader:
class: phpbbgallery\core\album\loader
arguments:
- @dbal.conn
- @user
- %tables.phpbbgallery.albums%
phpbbgallery.core.auth:
class: phpbbgallery\core\auth\auth
arguments:
- @phpbbgallery.core.cache
- @dbal.conn
- @phpbbgallery.core.user
- %tables.phpbbgallery.permissions%
- %tables.phpbbgallery.roles%
- %tables.phpbbgallery.users%
phpbbgallery.core.auth.level:
class: phpbbgallery\core\auth\level
arguments:
- @phpbbgallery.core.auth
- @config
- @template
- @user
phpbbgallery.core.cache:
class: phpbbgallery\core\cache
arguments:
- @cache
- @dbal.conn
phpbbgallery.core.file.tools:
class: phpbbgallery\core\file\file
arguments:
- 2
phpbbgallery.core.image.utility:
class: phpbbgallery\core\image\utility
arguments:
- @config
- @controller.helper
- @dispatcher
phpbbgallery.core.report:
class: phpbbgallery\core\report
arguments:
- @dbal.conn
- %tables.phpbbgallery.images%
- %tables.phpbbgallery.reports%
phpbbgallery.core.listener:
class: phpbbgallery\core\event\main_listener
arguments:
- @controller.helper
- @template
- @user
- %core.php_ext%
tags:
- { name: event.listener }
phpbbgallery.core.upload:
class: phpbbgallery\core\upload
arguments:
- @config
- @dbal.conn
- @dispatcher
- @user
- @phpbbgallery.core.file.tools
- %tables.phpbbgallery.images%
- %phpbbgallery.core.filedir.import.noroot%
- %phpbbgallery.core.filedir.import%
- %phpbbgallery.core.filedir.source.noroot%
- %phpbbgallery.core.filedir.source%
- %phpbbgallery.core.filedir.medium%
- %phpbbgallery.core.filedir.mini%
- %core.root_path%
- %core.php_ext%
phpbbgallery.core.user:
class: phpbbgallery\core\user
arguments:
- @dbal.conn
- @dispatcher
- %tables.phpbbgallery.users%
phpbbgallery.core.controller.album:
class: phpbbgallery\core\controller\album
arguments:
- @config
- @controller.helper
- @dbal.conn
- @pagination
- @template
- @user
- @phpbbgallery.core.album.display
- @phpbbgallery.core.album.loader
- @phpbbgallery.core.auth
- @phpbbgallery.core.auth.level
- @phpbbgallery.core.image.utility
- %tables.phpbbgallery.images%
phpbbgallery.core.controller.file:
class: phpbbgallery\core\controller\file
arguments:
- @config
- @dbal.conn
- @user
- @phpbbgallery.core.auth
- @phpbbgallery.core.user
- @phpbbgallery.core.file.tools
- %phpbbgallery.core.filedir.source%
- %phpbbgallery.core.filedir.medium%
- %phpbbgallery.core.filedir.mini%
- %phpbbgallery.core.file.watermark%
- %tables.phpbbgallery.albums%
- %tables.phpbbgallery.images%
phpbbgallery.core.controller.image:
class: phpbbgallery\core\controller\image
arguments:
- @auth
- @config
- @controller.helper
- @dbal.conn
- @dispatcher
- @pagination
- @template
- @user
- @phpbbgallery.core.album.display
- @phpbbgallery.core.album.loader
- @phpbbgallery.core.auth
- @phpbbgallery.core.auth.level
- %tables.phpbbgallery.albums%
- %tables.phpbbgallery.images%
- %tables.phpbbgallery.users%
phpbbgallery.core.controller.image_delete:
class: phpbbgallery\core\controller\image_delete
arguments:
- @controller.helper
- @dbal.conn
- @dispatcher
- @log
- @request
- @template
- @user
- @phpbbgallery.core.album.display
- @phpbbgallery.core.album.loader
- @phpbbgallery.core.auth
- %tables.phpbbgallery.images%
phpbbgallery.core.controller.image_report:
class: phpbbgallery\core\controller\image_report
arguments:
- @config
- @controller.helper
- @dbal.conn
- @dispatcher
- @log
- @request
- @template
- @user
- @phpbbgallery.core.album.display
- @phpbbgallery.core.album.loader
- @phpbbgallery.core.auth
- @phpbbgallery.core.report
- %tables.phpbbgallery.images%
phpbbgallery.core.controller.index:
class: phpbbgallery\core\controller\index
arguments:
- @auth
- @config
- @dbal.conn
- @request
- @template
- @user
- @controller.helper
- @phpbbgallery.core.album.display
- %core.root_path%
- %core.php_ext%
phpbbgallery.core.controller.upload:
class: phpbbgallery\core\controller\upload
arguments:
- @config
- @controller.helper
- @dbal.conn
- @dispatcher
- @log
- @request
- @template
- @user
- @phpbbgallery.core.album.display
- @phpbbgallery.core.album.loader
- @phpbbgallery.core.auth
- @phpbbgallery.core.upload
- %tables.phpbbgallery.images%
- %core.root_path%
- %core.php_ext%