-
Notifications
You must be signed in to change notification settings - Fork 7
/
services.yml
33 lines (30 loc) · 1.35 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
parameters: ~
services:
_defaults:
autowire: true
autoconfigure: true
public: false
App\Engine\Command\:
resource: '../../Command'
tags: ['console.command']
Component\Engine\Engine: { public: true }
Component\Engine\Storage\DoctrineStorage: ["@=service('doctrine').getManager()"]
Component\Engine\Storage\StorageInterface: '@Component\Engine\Storage\DoctrineStorage'
Component\Engine\AchievementValidatorCollection: ~
Component\Engine\EventListener\ActivityListener:
tags:
- { name: yay.event_listener,
event: !php/const Component\Engine\Events::GRANT_PERSONAL_ACTION,
method: onGrantPersonalAction }
- { name: yay.event_listener,
event: !php/const Component\Engine\Events::GRANT_PERSONAL_ACHIEVEMENT,
method: onGrantPersonalAchievement }
- { name: yay.event_listener,
event: !php/const Component\Engine\Events::CREATE_PLAYER,
method: onCreatePlayer }
- { name: yay.event_listener,
event: !php/const Component\Engine\Events::CHANGE_LEVEL,
method: onLevelChanged }
- { name: yay.event_listener,
event: !php/const Component\Engine\Events::CHANGE_SCORE,
method: onScoreChanged }