Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class EventArgs |
||
6 | { |
||
7 | /** @var string */ |
||
8 | private $event; |
||
9 | |||
10 | /** @var array */ |
||
11 | private $arguments; |
||
12 | |||
13 | /** |
||
14 | * @param string $event The event that is being emitted. |
||
15 | * @param array $arguments The array of arguments to send to the event callback. |
||
16 | */ |
||
17 | public function __construct(string $event, $arguments = []) |
||
21 | } |
||
22 | |||
23 | public function getArguments(): array |
||
26 | } |
||
27 | |||
28 | public function getEvent(): string |
||
33 |