| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 14 | class PayListener |
||
| 15 | { |
||
| 16 | public static function artfulStart(ArtfulStart $event): void |
||
| 17 | { |
||
| 18 | Event::dispatch(new PayStart($event->plugins, $event->params)); |
||
| 19 | } |
||
| 20 | |||
| 21 | public static function artfulEnd(ArtfulEnd $event): void |
||
| 22 | { |
||
| 23 | Event::dispatch(new PayEnd($event->rocket)); |
||
| 24 | } |
||
| 25 | |||
| 26 | public static function httpStart(HttpStart $event): void |
||
| 27 | { |
||
| 28 | Event::dispatch(new Event\HttpStart($event->rocket)); |
||
| 29 | } |
||
| 30 | |||
| 31 | public static function httpEnd(HttpEnd $event): void |
||
| 34 | } |
||
| 35 | } |
||
| 36 |