Find all data values for a specified data type in an array of snaks.
More...
Find all data values for a specified data type in an array of snaks.
- Since
- 1.1
- Copyright
- GPL-2.0-or-later
- Author
- Bene* < benes.nosp@m.tar..nosp@m.wikim.nosp@m.edia.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\DataModel\Services\DataValue\ValuesFinder::__construct |
( |
PropertyDataTypeLookup | $propertyDataTypeLookup | ) |
|
◆ findFromSnaks()
Wikibase\DataModel\Services\DataValue\ValuesFinder::findFromSnaks |
( |
array | $snaks, |
|
|
| $dataType ) |
Find all data values for the specified data type in the array of snaks.
- Parameters
-
Snak[] | $snaks | |
string | $dataType | |
- Returns
- DataValue[]
◆ isMatchingDataType()
Wikibase\DataModel\Services\DataValue\ValuesFinder::isMatchingDataType |
( |
PropertyId | $propertyId, |
|
|
| $dataType ) |
|
private |
- Parameters
-
PropertyId | $propertyId | |
string | $dataType | |
- Returns
- bool
◆ $propertyDataTypeLookup
Wikibase\DataModel\Services\DataValue\ValuesFinder::$propertyDataTypeLookup |
|
private |
The documentation for this class was generated from the following file: