Wikibase
MediaWiki Wikibase extension
|
A data value normalizer applying a list of other normalizations in order. More...
Public Member Functions | |
__construct (array $normalizers) | |
normalize (DataValue $value) | |
Normalize the given value. More... | |
Private Attributes | |
$normalizers | |
A data value normalizer applying a list of other normalizations in order.
With an empty list of normalizations, this doubles as a no-op normalizer.
Wikibase\Lib\Normalization\CompositeDataValueNormalizer::__construct | ( | array | $normalizers | ) |
DataValueNormalizer[] | $normalizers |
Wikibase\Lib\Normalization\CompositeDataValueNormalizer::normalize | ( | DataValue | $value | ) |
Normalize the given value.
DataValue | $value | The value to normalize. Every implementation must be able to handle every data value type without error, even if it’s just by returning the same value without modification. |
Implements Wikibase\Lib\Normalization\DataValueNormalizer.
|
private |