|
| | patch (array $target, array $patch) |
| | - Returns
- mixed usually this will be an array, but the type may change if the whole root element is modified by the client
- Exceptions
-
| InvalidArgumentException | for an invalid patch |
| PatchPathException | if a path target provided in the patch does not exist |
| PatchTestConditionFailedException | if a "test" op in the patch fails |
|
| |
- Copyright
- GPL-2.0-or-later
◆ convertObjectsToArray()
| static Wikibase\Repo\Domains\Crud\Infrastructure\JsonDiffJsonPatcher::convertObjectsToArray |
( |
| $serialization | ) |
|
|
staticprivate |
◆ patch()
| Wikibase\Repo\Domains\Crud\Infrastructure\JsonDiffJsonPatcher::patch |
( |
array | $target, |
|
|
array | $patch ) |
- Returns
- mixed usually this will be an array, but the type may change if the whole root element is modified by the client
- Exceptions
-
| InvalidArgumentException | for an invalid patch |
| PatchPathException | if a path target provided in the patch does not exist |
| PatchTestConditionFailedException | if a "test" op in the patch fails |
Implements Wikibase\Repo\Domains\Crud\Domain\Services\JsonPatcher.
The documentation for this class was generated from the following file: