Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Serializers\StatementListSerializer Class Reference

Package private. More...

+ Inheritance diagram for Wikibase\DataModel\Serializers\StatementListSerializer:
+ Collaboration diagram for Wikibase\DataModel\Serializers\StatementListSerializer:

Public Member Functions

 __construct (StatementSerializer $statementSerializer, bool $useObjectsForEmptyMaps)
 
 isSerializerFor ( $object)
 
 serialize ( $object)
 
- Public Member Functions inherited from Wikibase\DataModel\Serializers\MapSerializer
 __construct (bool $useObjectsForEmptyMaps)
 

Protected Member Functions

 generateSerializedArrayRepresentation (StatementList $statementList)
 
- Protected Member Functions inherited from Wikibase\DataModel\Serializers\MapSerializer
 serializeMap (array $serialization)
 Create the serialized representation of the supplied object.
 

Private Attributes

StatementSerializer $statementSerializer
 

Additional Inherited Members

- Protected Attributes inherited from Wikibase\DataModel\Serializers\MapSerializer
bool $useObjectsForEmptyMaps
 

Detailed Description

Package private.

Author
Bene* < benes.nosp@m.tar..nosp@m.wikim.nosp@m.edia.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Serializers\StatementListSerializer::__construct ( StatementSerializer $statementSerializer,
bool $useObjectsForEmptyMaps )

Member Function Documentation

◆ generateSerializedArrayRepresentation()

Wikibase\DataModel\Serializers\StatementListSerializer::generateSerializedArrayRepresentation ( StatementList $statementList)
protected

◆ isSerializerFor()

Wikibase\DataModel\Serializers\StatementListSerializer::isSerializerFor ( $object)
See also
Serializer::isSerializerFor
Parameters
mixed$object
Returns
bool

◆ serialize()

Wikibase\DataModel\Serializers\StatementListSerializer::serialize ( $object)
See also
Serializer::serialize
Parameters
StatementList$object
Exceptions
SerializationException
Returns
array[]

Member Data Documentation

◆ $statementSerializer

StatementSerializer Wikibase\DataModel\Serializers\StatementListSerializer::$statementSerializer
private

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