Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class MessageSentListener |
||
10 | { |
||
11 | private $tenantManager; |
||
12 | |||
13 | /** |
||
14 | * Create the event listener. |
||
15 | * |
||
16 | * @return void |
||
17 | */ |
||
18 | public function __construct(TenantManager $tenantManager) |
||
19 | { |
||
20 | $this->tenantManager = $tenantManager; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Handle the event. |
||
25 | * |
||
26 | * @param MessageSent $event |
||
27 | * |
||
28 | * @return void |
||
29 | */ |
||
30 | public function handle(MessageSent $event) |
||
38 | } |
||
39 | } |
||
41 |