- Copyright
- GPL-2.0-or-later
◆ __construct()
◆ normalize()
Wikibase\Repo\Normalization\CommonsMediaValueNormalizer::normalize |
( |
DataValue |
$value | ) |
|
Normalize the given value.
- Parameters
-
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. |
- Returns
- DataValue A normalized version of the value. If the input value was not normalized, this must be a new object, since data values are immutable; if it was already normalized, this may be a new object or the same instance.
Implements Wikibase\Lib\Normalization\DataValueNormalizer.
◆ $fileNameLookup
Wikibase\Repo\Normalization\CommonsMediaValueNormalizer::$fileNameLookup |
|
private |
◆ $logger
Wikibase\Repo\Normalization\CommonsMediaValueNormalizer::$logger |
|
private |
The documentation for this class was generated from the following file: