Wikibase
MediaWiki Wikibase extension
Wikibase\DataModel\Serializers\ReferenceListSerializer Class Reference

Package private. More...

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

Public Member Functions

 __construct (Serializer $referenceSerializer)
 
 isSerializerFor ( $object)
 
 serialize ( $object)
 

Private Member Functions

 getSerialized (ReferenceList $references)
 

Private Attributes

 $referenceSerializer
 

Detailed Description

Package private.

Author
Thomas Pellissier Tanon

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Serializers\ReferenceListSerializer::__construct ( Serializer  $referenceSerializer)

Member Function Documentation

◆ getSerialized()

Wikibase\DataModel\Serializers\ReferenceListSerializer::getSerialized ( ReferenceList  $references)
private

◆ isSerializerFor()

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

◆ serialize()

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

Member Data Documentation

◆ $referenceSerializer

Wikibase\DataModel\Serializers\ReferenceListSerializer::$referenceSerializer
private

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