Wikibase
MediaWiki Wikibase extension
|
Interface for objects that represent a single Wikibase snak. More...
Public Member Functions | |
getType () | |
Returns a string that can be used to identify the type of snak. More... | |
getHash () | |
equals ( $value) | |
Public Member Functions inherited from Wikibase\DataModel\PropertyIdProvider | |
getPropertyId () | |
Interface for objects that represent a single Wikibase snak.
See https://www.mediawiki.org/wiki/Wikibase/DataModel#Snaks
Wikibase\DataModel\Snak\Snak::equals | ( | $value | ) |
Wikibase\DataModel\Snak\Snak::getHash | ( | ) |
Implemented in Wikibase\DataModel\Snak\SnakObject.
Wikibase\DataModel\Snak\Snak::getType | ( | ) |
Returns a string that can be used to identify the type of snak.
Implemented in Wikibase\DataModel\Snak\PropertyValueSnak, Wikibase\DataModel\Snak\PropertySomeValueSnak, and Wikibase\DataModel\Snak\PropertyNoValueSnak.