-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.yml
32 lines (32 loc) · 1.07 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
services:
playermanager:
class: \rbwebdesigns\quizzerino\PlayerManager
arguments: []
messenger:
class: \rbwebdesigns\quizzerino\Messenger
arguments: ['@playermanager']
logger:
class: \rbwebdesigns\quizzerino\Logger
arguments: []
game:
class: \rbwebdesigns\quizzerino\Game
arguments: ['@playermanager', '@messenger']
# Events
events.playerconnected:
class: \rbwebdesigns\quizzerino\Events\PlayerConnected
arguments: ['@game', '@playermanager', '@messenger']
events.playerdisconnected:
class: \rbwebdesigns\quizzerino\Events\PlayerDisconnected
arguments: ['@game', '@playermanager', '@messenger']
events.answersubmitted:
class: \rbwebdesigns\quizzerino\Events\AnswerSubmitted
arguments: ['@game', '@playermanager', '@messenger']
events.gamereset:
class: \rbwebdesigns\quizzerino\Events\GameReset
arguments: []
events.gamestarted:
class: \rbwebdesigns\quizzerino\Events\GameStarted
arguments: ['@game']
events.roundexpired:
class: \rbwebdesigns\quizzerino\Events\RoundRxpired
arguments: ['@game']