1 | <?php |
||
10 | class Meta |
||
11 | { |
||
12 | /** @var object */ |
||
13 | private $event; |
||
14 | /** @var string */ |
||
15 | private $eventName; |
||
16 | /** @var string */ |
||
17 | private $matchedName; |
||
18 | /** @var EventSource */ |
||
19 | private $eventSource; |
||
20 | |||
21 | /** |
||
22 | * Meta constructor. |
||
23 | * @param object $event |
||
24 | * @param string $eventName |
||
25 | * @param string $matchedName |
||
26 | * @param EventSource $eventSource |
||
27 | */ |
||
28 | 7 | public function __construct($event, $eventName, $matchedName, EventSource $eventSource) |
|
35 | |||
36 | /** |
||
37 | * @return object |
||
38 | */ |
||
39 | 1 | public function getEvent() |
|
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | 1 | public function getEventName() |
|
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | 2 | public function getMatchedName() |
|
59 | |||
60 | /** |
||
61 | * @return EventSource |
||
62 | */ |
||
63 | 2 | public function getEventSource() |
|
67 | |||
68 | |||
69 | } |
||
70 |