1 | <?php |
||
9 | final class DenormalizerContext implements DenormalizerContextInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var array|null |
||
13 | */ |
||
14 | private $allowedAdditionalFields; |
||
15 | |||
16 | /** |
||
17 | * @var string[] |
||
18 | */ |
||
19 | private $groups = []; |
||
20 | |||
21 | /** |
||
22 | * @var ServerRequestInterface|null |
||
23 | */ |
||
24 | private $request; |
||
25 | |||
26 | /** |
||
27 | * @var bool |
||
28 | */ |
||
29 | private $resetMissingFields; |
||
30 | |||
31 | /** |
||
32 | * @param array|null $allowedAdditionalFields |
||
33 | * @param string[] $groups |
||
34 | * @param ServerRequestInterface|null $request |
||
35 | * @param bool $resetMissingFields |
||
36 | */ |
||
37 | 2 | public function __construct( |
|
48 | |||
49 | /** |
||
50 | * @return array|null |
||
51 | */ |
||
52 | 2 | public function getAllowedAdditionalFields() |
|
56 | |||
57 | /** |
||
58 | * @return string[] |
||
59 | */ |
||
60 | 2 | public function getGroups(): array |
|
64 | |||
65 | /** |
||
66 | * @return ServerRequestInterface|null |
||
67 | */ |
||
68 | 2 | public function getRequest() |
|
72 | |||
73 | /** |
||
74 | * @return bool |
||
75 | */ |
||
76 | 2 | public function isResetMissingFields(): bool |
|
80 | } |
||
81 |