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

A service interface for prefetching entities or data about them in order to make subsequent loading of them faster. More...

+ Inheritance diagram for Wikibase\DataModel\Services\Entity\EntityPrefetcher:

Public Member Functions

 prefetch (array $entityIds)
 Prefetches data for a list of entity ids.
 
 purge (EntityId $entityId)
 Purges prefetched data about a given entity.
 
 purgeAll ()
 Purges all prefetched data.
 

Detailed Description

A service interface for prefetching entities or data about them in order to make subsequent loading of them faster.

Since
1.1
Author
Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >

Member Function Documentation

◆ prefetch()

Wikibase\DataModel\Services\Entity\EntityPrefetcher::prefetch ( array $entityIds)

◆ purge()

Wikibase\DataModel\Services\Entity\EntityPrefetcher::purge ( EntityId $entityId)

◆ purgeAll()

Wikibase\DataModel\Services\Entity\EntityPrefetcher::purgeAll ( )

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