Class representing a property value snak.
More...
Class representing a property value snak.
See https://www.mediawiki.org/wiki/Wikibase/DataModel#PropertyValueSnak
- Since
- 0.1
- Copyright
- GPL-2.0-or-later
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
-
Daniel Kinzler
◆ __construct()
Wikibase\DataModel\Snak\PropertyValueSnak::__construct |
( |
|
$propertyId, |
|
|
DataValue |
$dataValue |
|
) |
| |
Support for passing in an EntityId instance that is not a PropertyId instance has been deprecated since 0.5.
- Since
- 0.1
- Parameters
-
PropertyId | EntityId | int | $propertyId | |
DataValue | $dataValue | |
◆ getDataValue()
Wikibase\DataModel\Snak\PropertyValueSnak::getDataValue |
( |
| ) |
|
Returns the value of the property value snak.
- Since
- 0.1
- Returns
- DataValue
◆ getType()
Wikibase\DataModel\Snak\PropertyValueSnak::getType |
( |
| ) |
|
◆ serialize()
Wikibase\DataModel\Snak\PropertyValueSnak::serialize |
( |
| ) |
|
◆ unserialize()
Wikibase\DataModel\Snak\PropertyValueSnak::unserialize |
( |
|
$serialized | ) |
|
◆ $dataValue
Wikibase\DataModel\Snak\PropertyValueSnak::$dataValue |
|
protected |
The documentation for this class was generated from the following file: