Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\Serialization\StatementDeserializer Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Application\Serialization\StatementDeserializer:

Public Member Functions

 __construct (PropertyValuePairDeserializer $propertyValuePairDeserializer, ReferenceDeserializer $referenceDeserializer)
 
 deserialize (array $serialization, string $basePath='')
 

Private Member Functions

 deserializeQualifiers (array $serialization, string $basePath)
 
 deserializeReferences (array $serialization, string $basePath)
 

Private Attributes

PropertyValuePairDeserializer $propertyValuePairDeserializer
 
ReferenceDeserializer $referenceDeserializer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\Serialization\StatementDeserializer::__construct ( PropertyValuePairDeserializer $propertyValuePairDeserializer,
ReferenceDeserializer $referenceDeserializer )

Member Function Documentation

◆ deserialize()

Wikibase\Repo\RestApi\Application\Serialization\StatementDeserializer::deserialize ( array $serialization,
string $basePath = '' )
Exceptions
InvalidFieldTypeException
InvalidFieldException
MissingFieldException
PropertyNotFoundException

◆ deserializeQualifiers()

Wikibase\Repo\RestApi\Application\Serialization\StatementDeserializer::deserializeQualifiers ( array $serialization,
string $basePath )
private

◆ deserializeReferences()

Wikibase\Repo\RestApi\Application\Serialization\StatementDeserializer::deserializeReferences ( array $serialization,
string $basePath )
private

Member Data Documentation

◆ $propertyValuePairDeserializer

PropertyValuePairDeserializer Wikibase\Repo\RestApi\Application\Serialization\StatementDeserializer::$propertyValuePairDeserializer
private

◆ $referenceDeserializer

ReferenceDeserializer Wikibase\Repo\RestApi\Application\Serialization\StatementDeserializer::$referenceDeserializer
private

The documentation for this class was generated from the following file: