Package private.
More...
Package private.
- Copyright
- GPL-2.0-or-later
- Author
- Thomas Pellissier Tanon
◆ __construct()
Wikibase\DataModel\Serializers\StatementSerializer::__construct |
( |
Serializer | $mainSnakSerializer, |
|
|
Serializer | $qualifierSnaksSerializer, |
|
|
Serializer | $referencesSerializer ) |
◆ addGuidToSerialization()
Wikibase\DataModel\Serializers\StatementSerializer::addGuidToSerialization |
( |
Statement | $statement, |
|
|
array & | $serialization ) |
|
private |
◆ addQualifiersToSerialization()
Wikibase\DataModel\Serializers\StatementSerializer::addQualifiersToSerialization |
( |
Statement | $statement, |
|
|
& | $serialization ) |
|
private |
◆ addRankToSerialization()
Wikibase\DataModel\Serializers\StatementSerializer::addRankToSerialization |
( |
Statement | $statement, |
|
|
array & | $serialization ) |
|
private |
◆ addReferencesToSerialization()
Wikibase\DataModel\Serializers\StatementSerializer::addReferencesToSerialization |
( |
Statement | $statement, |
|
|
array & | $serialization ) |
|
private |
◆ getSerialized()
Wikibase\DataModel\Serializers\StatementSerializer::getSerialized |
( |
Statement | $statement | ) |
|
|
private |
◆ isSerializerFor()
Wikibase\DataModel\Serializers\StatementSerializer::isSerializerFor |
( |
| $object | ) |
|
- See also
- Serializer::isSerializerFor
- Parameters
-
- Returns
- bool
◆ serialize()
Wikibase\DataModel\Serializers\StatementSerializer::serialize |
( |
| $object | ) |
|
- See also
- Serializer::serialize
- Parameters
-
- Exceptions
-
- Returns
- array
◆ $mainSnakSerializer
Wikibase\DataModel\Serializers\StatementSerializer::$mainSnakSerializer |
|
private |
◆ $qualifierSnaksSerializer
Wikibase\DataModel\Serializers\StatementSerializer::$qualifierSnaksSerializer |
|
private |
◆ $rankLabels
Wikibase\DataModel\Serializers\StatementSerializer::$rankLabels |
|
private |
Initial value:= [
Statement::RANK_DEPRECATED => 'deprecated',
Statement::RANK_NORMAL => 'normal',
Statement::RANK_PREFERRED => 'preferred',
]
◆ $referencesSerializer
Wikibase\DataModel\Serializers\StatementSerializer::$referencesSerializer |
|
private |
The documentation for this class was generated from the following file: