1 | <?php |
||
21 | abstract class AbstractEvent extends Event |
||
|
|||
22 | { |
||
23 | /** |
||
24 | * @var mixed |
||
25 | */ |
||
26 | protected $data; |
||
27 | |||
28 | /** |
||
29 | * @var TypeMetadataInterface |
||
30 | */ |
||
31 | protected $type; |
||
32 | |||
33 | /** |
||
34 | * @var ContextInterface |
||
35 | */ |
||
36 | private $context; |
||
37 | |||
38 | /** |
||
39 | * @param mixed $data |
||
40 | * @param TypeMetadataInterface $type |
||
41 | * @param ContextInterface $context |
||
42 | */ |
||
43 | 16 | public function __construct($data, TypeMetadataInterface $type, ContextInterface $context) |
|
49 | |||
50 | /** |
||
51 | * @return mixed |
||
52 | */ |
||
53 | 16 | public function getData() |
|
57 | |||
58 | /** |
||
59 | * @return TypeMetadataInterface |
||
60 | */ |
||
61 | 16 | public function getType() |
|
65 | |||
66 | /** |
||
67 | * @return ContextInterface |
||
68 | */ |
||
69 | 16 | public function getContext() |
|
73 | } |
||
74 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.