/
services.yml
99 lines (98 loc) · 3.03 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
imports:
- { resource: tables.yml }
services:
gfksx.thanksforposts.listener:
class: gfksx\thanksforposts\event\listener
arguments:
- '@config'
- '@dbal.conn'
- '@auth'
- '@template'
- '@user'
- '@cache.driver'
- '@request'
- '@controller.helper'
- '@language'
- '%core.root_path%'
- '%core.php_ext%'
- '@gfksx.thanksforposts.helper'
tags:
- { name: event.listener }
gfksx.thanksforposts.helper:
class: gfksx\thanksforposts\core\helper
arguments:
- '@config'
- '@dbal.conn'
- '@auth'
- '@template'
- '@user'
- '@cache.driver'
- '@request'
- '@notification_manager'
- '@controller.helper'
- '@dispatcher'
- '@language'
- '@user_loader'
- '%core.root_path%'
- '%core.php_ext%'
- '%tables.thanks%'
- '%tables.users%'
- '%tables.posts%'
- '%tables.notifications%'
gfksx.thanksforposts.controller.thankslist:
class: gfksx\thanksforposts\controller\thankslist
arguments:
- '@config'
- '@dbal.conn'
- '@auth'
- '@template'
- '@user'
- '@language'
- '@cache.driver'
- '@pagination'
- '@profilefields.manager'
- '@request'
- '@controller.helper'
- '@user_loader'
- '%tables.posts%'
- '%tables.thanks%'
- '%tables.sessions%'
- '%tables.users%'
- '%core.root_path%'
- '%core.php_ext%'
gfksx.thanksforposts.controller.toplist:
class: gfksx\thanksforposts\controller\toplist
arguments:
- '@config'
- '@dbal.conn'
- '@auth'
- '@template'
- '@user'
- '@language'
- '@cache.driver'
- '%core.root_path%'
- '%core.php_ext%'
- '@pagination'
- '@gfksx.thanksforposts.helper'
- '@request'
- '@controller.helper'
- '@user_loader'
- '%tables.forums%'
- '%tables.thanks%'
- '%tables.users%'
- '%tables.posts%'
gfksx.thanksforposts.notification.type.thanks:
class: gfksx\thanksforposts\notification\thanks
shared: false
parent: notification.type.base
calls:
- [set_user_loader, ['@user_loader']]
- [set_notifications_table, ['%tables.notifications%']]
tags:
- { name: notification.type }
gfksx.thanksforposts.notification.type.thanks_remove:
class: gfksx\thanksforposts\notification\thanks_remove
shared: false
parent: gfksx.thanksforposts.notification.type.thanks
tags:
- { name: notification.type }