- Copyright
- GPL-2.0-or-later
- Author
- Addshore
◆ __construct()
Wikibase\Client\Serializer\ClientEntitySerializer::__construct |
( |
Serializer | $entitySerializer, |
|
|
PropertyDataTypeLookup | $dataTypeLookup, |
|
|
EntityIdParser | $entityIdParser, |
|
|
array | $filterLangCodes, |
|
|
array | $termFallbackChains ) |
- Parameters
-
Serializer | $entitySerializer | |
PropertyDataTypeLookup | $dataTypeLookup | |
string[] | $filterLangCodes | |
TermLanguageFallbackChain[] | $termFallbackChains | |
◆ addEntitySerializationFallbackInfo()
Wikibase\Client\Serializer\ClientEntitySerializer::addEntitySerializationFallbackInfo |
( |
array | $serialization | ) |
|
|
private |
- Parameters
-
- Todo
- FIXME duplicated code in Repo ResultBuilder
- Returns
- array
◆ filterEntitySerializationUsingLangCodes()
Wikibase\Client\Serializer\ClientEntitySerializer::filterEntitySerializationUsingLangCodes |
( |
array | $serialization | ) |
|
|
private |
- Parameters
-
- Todo
- FIXME duplicated / similar code in Repo ResultBuilder
- Returns
- array
◆ getTermsSerializationWithFallbackInfo()
Wikibase\Client\Serializer\ClientEntitySerializer::getTermsSerializationWithFallbackInfo |
( |
array | $serialization | ) |
|
|
private |
- Parameters
-
- Todo
- FIXME duplicated / similar code in Repo ResultBuilder
- Returns
- array
◆ serialize()
Wikibase\Client\Serializer\ClientEntitySerializer::serialize |
( |
| $entity | ) |
|
- See also
- ResultBuilder::addEntityRevision
- Parameters
-
- Exceptions
-
- Returns
- array
◆ $entitySerializer
Wikibase\Client\Serializer\ClientEntitySerializer::$entitySerializer |
|
private |
◆ $filterLangCodes
Wikibase\Client\Serializer\ClientEntitySerializer::$filterLangCodes |
|
private |
◆ $termFallbackChains
Wikibase\Client\Serializer\ClientEntitySerializer::$termFallbackChains |
|
private |
The documentation for this class was generated from the following file: