| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class ListenerData |
||
| 22 | { |
||
| 23 | /** @var string */ |
||
| 24 | private $event; |
||
| 25 | |||
| 26 | /** @var callable */ |
||
| 27 | private $listener; |
||
| 28 | |||
| 29 | 606 | public function __construct(string $event, callable $listener) |
|
| 33 | 606 | } |
|
| 34 | |||
| 35 | 600 | public function getEvent(): string |
|
| 36 | { |
||
| 37 | 600 | return $this->event; |
|
| 38 | } |
||
| 39 | |||
| 40 | 600 | public function getListener(): callable |
|
| 43 | } |
||
| 44 | } |
||
| 45 |