1 | <?php |
||
7 | class ErrorListener |
||
8 | { |
||
9 | //TODO improvement -> perform this into a queue |
||
10 | |||
11 | /** |
||
12 | * Create the event listener. |
||
13 | * |
||
14 | */ |
||
15 | 6 | public function __construct() |
|
19 | |||
20 | /** |
||
21 | * Handle the event. |
||
22 | * |
||
23 | * @param ErrorEvent $event |
||
24 | * @return void |
||
25 | */ |
||
26 | 6 | public function handle(ErrorEvent $event) |
|
35 | } |
||
36 |