Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Entity\ClearableEntity Interface Reference

Interface for Entity objects that can be cleared. More...

+ Inheritance diagram for Wikibase\DataModel\Entity\ClearableEntity:

Public Member Functions

 clear ()
 Clears all fields of the entity that can be emptied.
 

Detailed Description

Interface for Entity objects that can be cleared.

Since
7.5

Member Function Documentation

◆ clear()

Wikibase\DataModel\Entity\ClearableEntity::clear ( )

Clears all fields of the entity that can be emptied.

The entity's id stays the same.

Since
7.5

Implemented in Wikibase\DataModel\Entity\Item, and Wikibase\DataModel\Entity\Property.


The documentation for this interface was generated from the following file: