WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Serialization\FormSerializer Class Reference
+ Inheritance diagram for Wikibase\Lexeme\Serialization\FormSerializer:
+ Collaboration diagram for Wikibase\Lexeme\Serialization\FormSerializer:

Public Member Functions

 __construct (Serializer $termListSerializer, Serializer $statementListSerializer)
 
 isSerializerFor ( $object)
 
 serialize ( $form)
 

Private Attributes

 $termListSerializer
 
 $statementListSerializer
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Serialization\FormSerializer::__construct ( Serializer $termListSerializer,
Serializer $statementListSerializer )

Member Function Documentation

◆ isSerializerFor()

Wikibase\Lexeme\Serialization\FormSerializer::isSerializerFor ( $object)
See also
DispatchableSerializer::isSerializerFor
Parameters
mixed$object
Returns
bool

◆ serialize()

Wikibase\Lexeme\Serialization\FormSerializer::serialize ( $form)
Parameters
Form$form
Returns
array

Member Data Documentation

◆ $statementListSerializer

Wikibase\Lexeme\Serialization\FormSerializer::$statementListSerializer
private

◆ $termListSerializer

Wikibase\Lexeme\Serialization\FormSerializer::$termListSerializer
private

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