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

Public Member Functions

 __construct (PropertyDataTypeLookup $dataTypeLookup, EntityIdParser $entityIdParser)
 

Protected Member Functions

 omitEmptyArrays (array $serialization)
 
 injectSerializationWithDataTypes (array $serialization, $pathPrefix)
 

Private Attributes

 $dataTypeLookup
 
 $modifier
 
 $callbackFactory
 
 $entityIdParser
 

Detailed Description

Author
Addshore

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ injectSerializationWithDataTypes()

Wikibase\Client\Serializer\ClientSerializer::injectSerializationWithDataTypes ( array $serialization,
$pathPrefix )
protected
Parameters
array$serialization
string$pathPrefix
Todo
FIXME duplicated / similar code in Repo ResultBuilder
Returns
array

◆ omitEmptyArrays()

Wikibase\Client\Serializer\ClientSerializer::omitEmptyArrays ( array $serialization)
protected
Parameters
array$serialization
Returns
array

Member Data Documentation

◆ $callbackFactory

Wikibase\Client\Serializer\ClientSerializer::$callbackFactory
private

◆ $dataTypeLookup

Wikibase\Client\Serializer\ClientSerializer::$dataTypeLookup
private

◆ $entityIdParser

Wikibase\Client\Serializer\ClientSerializer::$entityIdParser
private

◆ $modifier

Wikibase\Client\Serializer\ClientSerializer::$modifier
private

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