Factory for constructing Deserializer objects that can deserialize WikibaseDataModel objects.
More...
Factory for constructing Deserializer objects that can deserialize WikibaseDataModel objects.
- Since
- 0.1
- Copyright
- GPL-2.0-or-later
- Author
- Thomas Pellissier Tanon
-
Bene* < benes.nosp@m.tar..nosp@m.wikim.nosp@m.edia.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\DataModel\Deserializers\DeserializerFactory::__construct |
( |
Deserializer |
$dataValueDeserializer, |
|
|
EntityIdParser |
$entityIdParser |
|
) |
| |
- Parameters
-
Deserializer | $dataValueDeserializer | deserializer for DataValue objects |
EntityIdParser | $entityIdParser | |
◆ newAliasGroupListDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newAliasGroupListDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize AliasGroupList objects.
- Since
- 1.5
- Returns
- Deserializer
◆ newEntityDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newEntityDeserializer |
( |
| ) |
|
- Returns
- DispatchableDeserializer A deserializer that can only deserialize Item and Property objects, but no other entity types. In contexts with custom entity types other than items and properties this is not what you want. If in doubt, favor a custom
DispatchingDeserializer
containing the exact entity deserializers you need.
◆ newEntityIdDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newEntityIdDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize EntityId objects.
- Returns
- Deserializer
◆ newItemDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newItemDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Item objects.
- Since
- 2.1
- Returns
- DispatchableDeserializer
◆ newPropertyDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newPropertyDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Property objects.
- Since
- 2.1
- Returns
- DispatchableDeserializer
◆ newReferenceDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newReferenceDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Reference objects.
- Returns
- Deserializer
◆ newReferencesDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newReferencesDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize ReferenceList objects.
- Returns
- Deserializer
◆ newSiteLinkDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newSiteLinkDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize SiteLink objects.
- Returns
- Deserializer
◆ newSnakDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newSnakDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Snak objects.
- Returns
- Deserializer
◆ newSnakListDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newSnakListDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize SnakList objects.
- Since
- 1.4
- Returns
- Deserializer
◆ newStatementDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newStatementDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Statement objects.
- Since
- 1.4
- Returns
- DispatchableDeserializer
◆ newStatementListDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newStatementListDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize StatementList objects.
- Since
- 1.4
- Returns
- Deserializer
◆ newTermDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newTermDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Term objects.
- Since
- 1.5
- Returns
- Deserializer
◆ newTermListDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newTermListDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize TermList objects.
- Since
- 1.5
- Returns
- Deserializer
◆ $dataValueDeserializer
Wikibase\DataModel\Deserializers\DeserializerFactory::$dataValueDeserializer |
|
private |
◆ $entityIdParser
Wikibase\DataModel\Deserializers\DeserializerFactory::$entityIdParser |
|
private |
The documentation for this class was generated from the following file: