Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\Domain\Serializers\SnakSerializer Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Domain\Serializers\SnakSerializer:
+ Collaboration diagram for Wikibase\Repo\RestApi\Domain\Serializers\SnakSerializer:

Public Member Functions

 __construct (TypedSnakSerializer $typedSnakSerializer, PropertyDataTypeLookup $propertyDataTypeLookup)
 
 serialize ( $snak)
 

Private Attributes

 $typedSnakSerializer
 
 $propertyDataTypeLookup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Domain\Serializers\SnakSerializer::__construct ( TypedSnakSerializer  $typedSnakSerializer,
PropertyDataTypeLookup  $propertyDataTypeLookup 
)

Member Function Documentation

◆ serialize()

Wikibase\Repo\RestApi\Domain\Serializers\SnakSerializer::serialize (   $snak)
Parameters
Snak$snak

Member Data Documentation

◆ $propertyDataTypeLookup

Wikibase\Repo\RestApi\Domain\Serializers\SnakSerializer::$propertyDataTypeLookup
private

◆ $typedSnakSerializer

Wikibase\Repo\RestApi\Domain\Serializers\SnakSerializer::$typedSnakSerializer
private

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