Turns entity change request into ChangeOp objects based on change request deserialization configured for the particular entity type.
More...
Turns entity change request into ChangeOp objects based on change request deserialization configured for the particular entity type.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\ChangeOp\EntityChangeOpProvider::__construct |
( |
array |
$changeOpDeserializerInstantiators | ) |
|
- Parameters
-
callable[] | $changeOpDeserializerInstantiators | Associative array mapping entity types (strings) to callbacks instantiating ChangeOpDeserializer objects. |
◆ getDeserializerForEntityType()
Wikibase\Repo\ChangeOp\EntityChangeOpProvider::getDeserializerForEntityType |
( |
|
$type | ) |
|
|
private |
◆ newDeserializerForEntityType()
Wikibase\Repo\ChangeOp\EntityChangeOpProvider::newDeserializerForEntityType |
( |
|
$type | ) |
|
|
private |
◆ newEntityChangeOp()
Wikibase\Repo\ChangeOp\EntityChangeOpProvider::newEntityChangeOp |
( |
|
$entityType, |
|
|
array |
$changeRequest |
|
) |
| |
- Parameters
-
string | $entityType | |
array | $changeRequest | Data of change to apply, |
- See also
- md_docs_topics_changeop-serializations for format specification
- Exceptions
-
ChangeOpDeserializationException | |
- Returns
- ChangeOp
◆ $changeOpDeserializerInstantiators
Wikibase\Repo\ChangeOp\EntityChangeOpProvider::$changeOpDeserializerInstantiators |
|
private |
◆ $changeOpDeserializers
Wikibase\Repo\ChangeOp\EntityChangeOpProvider::$changeOpDeserializers = [] |
|
private |
The documentation for this class was generated from the following file: