|
| | saveTermsOfEntity (EntityDocument $entity) |
| | Saves the terms of the provided entity in the term cache.- Parameters
-
| EntityDocument | $entity | Must have an ID, and optionally any combination of terms as declared by the TermIndexEntry::TYPE_... constants. |
- Exceptions
-
| InvalidArgumentException | when $entity does not have an ID. |
- Returns
- bool Success indicator
|
| |
| | deleteTermsOfEntity (EntityId $entityId) |
| | Deletes the terms of the provided entity from the term cache.- Parameters
-
- Returns
- bool Success indicator
|
| |
- Copyright
- GPL-2.0-or-later
◆ deleteTermsOfEntity()
| Wikibase\Lib\Store\NullEntityTermStoreWriter::deleteTermsOfEntity |
( |
EntityId | $entityId | ) |
|
◆ saveTermsOfEntity()
| Wikibase\Lib\Store\NullEntityTermStoreWriter::saveTermsOfEntity |
( |
EntityDocument | $entity | ) |
|
Saves the terms of the provided entity in the term cache.
- Parameters
-
| EntityDocument | $entity | Must have an ID, and optionally any combination of terms as declared by the TermIndexEntry::TYPE_... constants. |
- Exceptions
-
| InvalidArgumentException | when $entity does not have an ID. |
- Returns
- bool Success indicator
Implements Wikibase\Lib\Store\EntityTermStoreWriter.
The documentation for this class was generated from the following file: