| 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 | * |
||
| 22 | * @return self |
||
| 23 | */ |
||
| 24 | public function setAllowedAdditionalFields(bool $allowedAdditionalFields): self |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return bool |
||
| 33 | */ |
||
| 34 | public function isAllowedAdditionalFields(): bool |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param string[] $groups |
||
| 41 | * |
||
| 42 | * @return self |
||
| 43 | */ |
||
| 44 | public function setGroups(array $groups): self |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return string[] |
||
| 53 | */ |
||
| 54 | public function getGroups(): array |
||
| 58 | } |
||
| 59 |