Check if a PropertyId is for a Property with a specific data type.
More...
Check if a PropertyId is for a Property with a specific data type.
- Since
- 3.1
- Copyright
- GPL-2.0-or-later
- Author
- Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\DataModel\Services\Entity\PropertyDataTypeMatcher::__construct |
( |
PropertyDataTypeLookup | $propertyDataTypeLookup | ) |
|
◆ findDataTypeIdForProperty()
Wikibase\DataModel\Services\Entity\PropertyDataTypeMatcher::findDataTypeIdForProperty |
( |
PropertyId | $propertyId | ) |
|
|
private |
- Parameters
-
- Returns
- string
- Exceptions
-
PropertyDataTypeLookupException | |
◆ isMatchingDataType()
Wikibase\DataModel\Services\Entity\PropertyDataTypeMatcher::isMatchingDataType |
( |
PropertyId | $propertyId, |
|
|
| $dataType ) |
Returns if the property with the specified property id has the provided data type.
- Parameters
-
PropertyId | $propertyId | |
string | $dataType | |
- Returns
- bool
◆ $propertyDataTypeLookup
Wikibase\DataModel\Services\Entity\PropertyDataTypeMatcher::$propertyDataTypeLookup |
|
private |
The documentation for this class was generated from the following file: