Job for scheduled invocation of UsageUpdater::addUsagesForPage.
More...
|
static | newSpec (Title $title, array $usages) |
| Spec constructor, for creating JobSpecifications to be pushed to the job queue.
|
|
Job for scheduled invocation of UsageUpdater::addUsagesForPage.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
◆ __construct()
Wikibase\Client\Store\AddUsagesForPageJob::__construct |
( |
Title | $title, |
|
|
array | $params ) |
◆ getUsages()
Wikibase\Client\Store\AddUsagesForPageJob::getUsages |
( |
| ) |
|
|
private |
◆ newSpec()
static Wikibase\Client\Store\AddUsagesForPageJob::newSpec |
( |
Title | $title, |
|
|
array | $usages ) |
|
static |
Spec constructor, for creating JobSpecifications to be pushed to the job queue.
- Parameters
-
Title | $title | |
EntityUsage[] | $usages | |
- Returns
- JobSpecification
◆ overrideServices()
Service override for testing.
- Parameters
-
UsageUpdater | $usageUpdater | |
EntityIdParser | $idParser | |
◆ run()
Wikibase\Client\Store\AddUsagesForPageJob::run |
( |
| ) |
|
- See also
- Job::run
- Returns
- bool
◆ $idParser
Wikibase\Client\Store\AddUsagesForPageJob::$idParser |
|
private |
◆ $usageUpdater
Wikibase\Client\Store\AddUsagesForPageJob::$usageUpdater |
|
private |
The documentation for this class was generated from the following file: