| 1 | <?php |
||
| 7 | final class DenormalizerContext implements DenormalizerContextInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var bool |
||
| 11 | */ |
||
| 12 | private $allowedAdditionalFields = false; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var bool |
||
| 16 | */ |
||
| 17 | private $replaceMode = false; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string[] |
||
| 21 | */ |
||
| 22 | private $groups = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param bool $allowedAdditionalFields |
||
| 26 | * |
||
| 27 | * @return self |
||
| 28 | */ |
||
| 29 | public function setAllowedAdditionalFields(bool $allowedAdditionalFields): self |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return bool |
||
| 38 | */ |
||
| 39 | public function isAllowedAdditionalFields(): bool |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param bool $replaceMode |
||
| 46 | * |
||
| 47 | * @return self |
||
| 48 | */ |
||
| 49 | public function setReplaceMode(bool $replaceMode): self |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return bool |
||
| 58 | */ |
||
| 59 | public function isReplaceMode(): bool |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @param string[] $groups |
||
| 66 | * |
||
| 67 | * @return self |
||
| 68 | */ |
||
| 69 | public function setGroups(array $groups): self |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return string[] |
||
| 78 | */ |
||
| 79 | public function getGroups(): array |
||
| 83 | } |
||
| 84 |