Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Serializer\ClientStatementListSerializer Class Reference
+ Inheritance diagram for Wikibase\Client\Serializer\ClientStatementListSerializer:
+ Collaboration diagram for Wikibase\Client\Serializer\ClientStatementListSerializer:

Public Member Functions

 __construct (Serializer $statementListSerializer, PropertyDataTypeLookup $dataTypeLookup, EntityIdParser $entityIdParser)
 
 serialize ( $statementList)
 Adds data types to serialization.
 
- Public Member Functions inherited from Wikibase\Client\Serializer\ClientSerializer
 __construct (PropertyDataTypeLookup $dataTypeLookup, EntityIdParser $entityIdParser)
 

Private Attributes

 $statementListSerializer
 

Additional Inherited Members

- Protected Member Functions inherited from Wikibase\Client\Serializer\ClientSerializer
 omitEmptyArrays (array $serialization)
 
 injectSerializationWithDataTypes (array $serialization, $pathPrefix)
 

Detailed Description

Author
eranroz

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Serializer\ClientStatementListSerializer::__construct ( Serializer $statementListSerializer,
PropertyDataTypeLookup $dataTypeLookup,
EntityIdParser $entityIdParser )

Member Function Documentation

◆ serialize()

Wikibase\Client\Serializer\ClientStatementListSerializer::serialize ( $statementList)

Adds data types to serialization.

Parameters
StatementList$statementList
Exceptions
SerializationException
Returns
array

Member Data Documentation

◆ $statementListSerializer

Wikibase\Client\Serializer\ClientStatementListSerializer::$statementListSerializer
private

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