1 | <?php |
||
7 | final class DenormalizerContext implements DenormalizerContextInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var bool |
||
11 | */ |
||
12 | private $allowedAdditionalFields = false; |
||
13 | |||
14 | /** |
||
15 | * @var string[] |
||
16 | */ |
||
17 | private $groups = []; |
||
18 | |||
19 | /** |
||
20 | * @param bool $allowedAdditionalFields |
||
21 | * @param string[] $groups |
||
22 | */ |
||
23 | public function __construct($allowedAdditionalFields, array $groups) |
||
28 | |||
29 | /** |
||
30 | * @return bool |
||
31 | */ |
||
32 | public function isAllowedAdditionalFields(): bool |
||
36 | |||
37 | /** |
||
38 | * @return string[] |
||
39 | */ |
||
40 | public function getGroups(): array |
||
44 | } |
||
45 |