|
| __construct (Serializer $entitySerializer, PropertyDataTypeLookup $dataTypeLookup, array $filterLangCodes, array $fallbackChains) |
|
| serialize ( $entity) |
|
| __construct (PropertyDataTypeLookup $dataTypeLookup) |
|
- Copyright
- GPL-2.0-or-later
- Author
- Addshore
◆ __construct()
Wikibase\Client\Serializer\ClientEntitySerializer::__construct |
( |
Serializer |
$entitySerializer, |
|
|
PropertyDataTypeLookup |
$dataTypeLookup, |
|
|
array |
$filterLangCodes, |
|
|
array |
$fallbackChains |
|
) |
| |
- Parameters
-
Serializer | $entitySerializer | |
PropertyDataTypeLookup | $dataTypeLookup | |
string[] | $filterLangCodes | |
LanguageFallbackChain[] | $fallbackChains | |
◆ 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 |
◆ $fallbackChains
Wikibase\Client\Serializer\ClientEntitySerializer::$fallbackChains |
|
private |
◆ $filterLangCodes
Wikibase\Client\Serializer\ClientEntitySerializer::$filterLangCodes |
|
private |
The documentation for this class was generated from the following file: