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

Package private. More...

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

Public Member Functions

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

Private Member Functions

 getSerialized (Reference $reference)
 

Private Attributes

 $snaksSerializer
 

Detailed Description

Package private.

Author
Thomas Pellissier Tanon

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Serializers\ReferenceSerializer::__construct ( Serializer $snaksSerializer)

Member Function Documentation

◆ getSerialized()

Wikibase\DataModel\Serializers\ReferenceSerializer::getSerialized ( Reference $reference)
private

◆ isSerializerFor()

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

◆ serialize()

Wikibase\DataModel\Serializers\ReferenceSerializer::serialize ( $object)
See also
Serializer::serialize
Parameters
Reference$object
Exceptions
SerializationException
Returns
array

Member Data Documentation

◆ $snaksSerializer

Wikibase\DataModel\Serializers\ReferenceSerializer::$snaksSerializer
private

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