Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
__construct (array $callbacks, EntityExistenceChecker $defaultExistenceChecker) | |
exists (EntityId $id) | |
This exists check returns true, iff an entity has both been created and not deleted, i.e. More... | |
existsBatch (array $ids) | |
Checks if a batch of entities exists at once. More... | |
Private Attributes | |
$serviceDispatcher | |
Wikibase\Lib\Store\TypeDispatchingExistenceChecker::__construct | ( | array | $callbacks, |
EntityExistenceChecker | $defaultExistenceChecker | ||
) |
Wikibase\Lib\Store\TypeDispatchingExistenceChecker::exists | ( | EntityId | $id | ) |
This exists check returns true, iff an entity has both been created and not deleted, i.e.
deleted entities do not exist.
EntityId | $id |
Implements Wikibase\Lib\Store\EntityExistenceChecker.
Wikibase\Lib\Store\TypeDispatchingExistenceChecker::existsBatch | ( | array | $ids | ) |
Checks if a batch of entities exists at once.
This is equivalent to iterating over $ids and calling exists() for each, but may be more efficient, depending on implementation.
EntityId[] | $ids |
Implements Wikibase\Lib\Store\EntityExistenceChecker.
|
private |