| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | abstract class ListenerAbstract implements ListenerInterface |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * publish |
||
| 9 | * |
||
| 10 | * @param EventInterface $event |
||
| 11 | * @return void |
||
| 12 | */ |
||
| 13 | public function publish(EventInterface $event) |
||
| 14 | { |
||
| 15 | // do nothing |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * return listener hash string |
||
| 20 | * |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | public function hash(): string |
||
| 26 | } |
||
| 27 | } |
||
| 28 |