Package private.
More...
Package private.
- Copyright
- GPL-2.0-or-later
◆ __construct()
◆ assertCanDeserialize()
Wikibase\DataModel\Deserializers\SnakDeserializer::assertCanDeserialize |
( |
| $serialization | ) |
|
|
private |
◆ assertValidDataValue()
Wikibase\DataModel\Deserializers\SnakDeserializer::assertValidDataValue |
( |
| $serialization | ) |
|
|
private |
◆ deserialize()
Wikibase\DataModel\Deserializers\SnakDeserializer::deserialize |
( |
| $serialization | ) |
|
- See also
- Deserializer::deserialize
- Parameters
-
- Exceptions
-
- Returns
- PropertyNoValueSnak|PropertySomeValueSnak|PropertyValueSnak
◆ deserializeDataValue()
Wikibase\DataModel\Deserializers\SnakDeserializer::deserializeDataValue |
( |
PropertyId | $propertyId, |
|
|
array | $serialization ) |
|
private |
◆ deserializePropertyId()
Wikibase\DataModel\Deserializers\SnakDeserializer::deserializePropertyId |
( |
string | $serialization | ) |
|
|
private |
- Exceptions
-
InvalidAttributeException | |
◆ getDeserialized()
Wikibase\DataModel\Deserializers\SnakDeserializer::getDeserialized |
( |
array | $serialization | ) |
|
|
private |
- See also
- SnakDeserializer::hasCorrectSnakType
- Parameters
-
- Exceptions
-
InvalidAttributeException | |
- Returns
- PropertyNoValueSnak|PropertySomeValueSnak|PropertyValueSnak
◆ hasCorrectSnakType()
Wikibase\DataModel\Deserializers\SnakDeserializer::hasCorrectSnakType |
( |
array | $serialization | ) |
|
|
private |
◆ hasSnakType()
Wikibase\DataModel\Deserializers\SnakDeserializer::hasSnakType |
( |
array | $serialization | ) |
|
|
private |
◆ isDeserializerFor()
Wikibase\DataModel\Deserializers\SnakDeserializer::isDeserializerFor |
( |
| $serialization | ) |
|
- See also
- Deserializer::isDeserializerFor
- Parameters
-
- Returns
- bool
◆ lookUpDataTypeAndDeserializeValue()
Wikibase\DataModel\Deserializers\SnakDeserializer::lookUpDataTypeAndDeserializeValue |
( |
PropertyId | $propertyId, |
|
|
array | $serialization ) |
|
private |
◆ needsDataTypeLookup()
Wikibase\DataModel\Deserializers\SnakDeserializer::needsDataTypeLookup |
( |
string | $valueType | ) |
|
|
private |
We only need to look up the data type if the value type needs a data type specific parser.
◆ newNoValueSnak()
Wikibase\DataModel\Deserializers\SnakDeserializer::newNoValueSnak |
( |
array | $serialization | ) |
|
|
private |
◆ newSomeValueSnak()
Wikibase\DataModel\Deserializers\SnakDeserializer::newSomeValueSnak |
( |
array | $serialization | ) |
|
|
private |
◆ newUndeserializableValue()
Wikibase\DataModel\Deserializers\SnakDeserializer::newUndeserializableValue |
( |
array | $serialization, |
|
|
Exception | $exception ) |
|
private |
◆ newValueSnak()
Wikibase\DataModel\Deserializers\SnakDeserializer::newValueSnak |
( |
array | $serialization | ) |
|
|
private |
◆ requireAttribute()
Wikibase\DataModel\Deserializers\SnakDeserializer::requireAttribute |
( |
array | $array, |
|
|
string | $attributeName ) |
|
private |
◆ $dataTypeLookup
◆ $dataTypeToValueTypeMap
array Wikibase\DataModel\Deserializers\SnakDeserializer::$dataTypeToValueTypeMap |
|
private |
◆ $dataValueDeserializer
Deserializer Wikibase\DataModel\Deserializers\SnakDeserializer::$dataValueDeserializer |
|
private |
◆ $deserializerBuilders
array Wikibase\DataModel\Deserializers\SnakDeserializer::$deserializerBuilders |
|
private |
◆ $propertyIdParser
EntityIdParser Wikibase\DataModel\Deserializers\SnakDeserializer::$propertyIdParser |
|
private |
◆ $snakValueDeserializer
The documentation for this class was generated from the following file: