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

Package private. More...

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

Public Member Functions

 __construct (Serializer $snakSerializer, $useObjectsForMaps)
 
 isSerializerFor ( $object)
 
 serialize ( $object)
 

Private Attributes

 $snakSerializer
 
 $useObjectsForMaps
 

Detailed Description

Package private.

Author
Thomas Pellissier Tanon

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Serializers\SnakListSerializer::__construct ( Serializer $snakSerializer,
$useObjectsForMaps )
Parameters
Serializer$snakSerializer
bool$useObjectsForMaps

Member Function Documentation

◆ isSerializerFor()

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

◆ serialize()

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

Member Data Documentation

◆ $snakSerializer

Wikibase\DataModel\Serializers\SnakListSerializer::$snakSerializer
private

◆ $useObjectsForMaps

Wikibase\DataModel\Serializers\SnakListSerializer::$useObjectsForMaps
private

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