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
◆ newEntityDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newEntityDeserializer |
( |
| ) |
|
- Returns
- DispatchingDeserializer 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.
◆ newItemDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newItemDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Item objects.
- Since
- 2.1
◆ newPropertyDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newPropertyDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Property objects.
- Since
- 2.1
◆ newReferenceDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newReferenceDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Reference objects.
◆ newReferencesDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newReferencesDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize ReferenceList objects.
◆ newSiteLinkDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newSiteLinkDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize SiteLink objects.
◆ newSnakDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newSnakDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Snak objects.
◆ newSnakListDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newSnakListDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize SnakList objects.
- Since
- 1.4
◆ newStatementDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newStatementDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Statement objects.
- Since
- 1.4
◆ newStatementListDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newStatementListDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize StatementList objects.
- Since
- 1.4
◆ newTermDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newTermDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize Term objects.
- Since
- 1.5
◆ newTermListDeserializer()
Wikibase\DataModel\Deserializers\DeserializerFactory::newTermListDeserializer |
( |
| ) |
|
Returns a Deserializer that can deserialize TermList objects.
- Since
- 1.5
◆ $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: