| 1 | <?php |
||
| 24 | class BeforeNormalizationEvent extends Event |
||
|
|
|||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var ResourceInterface |
||
| 28 | */ |
||
| 29 | private $resource; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | private $format; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var array |
||
| 38 | */ |
||
| 39 | private $context; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Constructor. |
||
| 43 | * |
||
| 44 | * @param ResourceInterface $resource |
||
| 45 | * @param string $format |
||
| 46 | * @param array $context |
||
| 47 | */ |
||
| 48 | 5 | public function __construct(ResourceInterface $resource, string $format, array $context) |
|
| 54 | |||
| 55 | /** |
||
| 56 | * Get resource |
||
| 57 | * |
||
| 58 | * @return ResourceInterface |
||
| 59 | */ |
||
| 60 | 1 | public function getResource(): ResourceInterface |
|
| 64 | |||
| 65 | /** |
||
| 66 | * Get format |
||
| 67 | * |
||
| 68 | * @return string |
||
| 69 | */ |
||
| 70 | 1 | public function getFormat(): string |
|
| 74 | |||
| 75 | /** |
||
| 76 | * Get context |
||
| 77 | * |
||
| 78 | * @return array |
||
| 79 | */ |
||
| 80 | 1 | public function getContext(): array |
|
| 84 | } |
||
| 85 |
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.