1 | <?php |
||
13 | final class NetteEventItem implements NetteEventItemInterface |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $class; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $property; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $eventClass; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | private $eventName; |
||
35 | |||
36 | |||
37 | /** |
||
38 | * @param string $class |
||
39 | * @param string $property |
||
40 | * @param string $eventClass |
||
41 | * @param string $eventName |
||
42 | */ |
||
43 | 3 | public function __construct($class, $property, $eventClass, $eventName) |
|
44 | { |
||
45 | 3 | $this->class = $class; |
|
46 | 3 | $this->property = $property; |
|
47 | 3 | $this->eventClass = $eventClass; |
|
48 | 3 | $this->eventName = $eventName; |
|
49 | 3 | } |
|
50 | |||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 3 | public function getClass() |
|
59 | |||
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | 2 | public function getEventClass() |
|
68 | |||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | 2 | public function getEventName() |
|
77 | |||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | 2 | public function getProperty() |
|
86 | |||
87 | } |
||
88 |