EditFilterHookRunning that collects stats for edits.
More...
|
| __construct (EditFilterHookRunner $hookRunner, StatsdDataFactoryInterface $stats, string $timingPrefix) |
|
| run ( $new, IContextSource $context, $summary) |
|
| run ( $new, IContextSource $context, string $summary) |
| Call EditFilterMergedContent hook, if registered.
|
|
EditFilterHookRunning that collects stats for edits.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\EditEntity\StatsdTimeRecordingEditFilterHookRunner::__construct |
( |
EditFilterHookRunner | $hookRunner, |
|
|
StatsdDataFactoryInterface | $stats, |
|
|
string | $timingPrefix ) |
- Parameters
-
EditFilterHookRunner | $hookRunner | |
StatsdDataFactoryInterface | $stats | |
string | $timingPrefix | Resulting metric will be: $timingPrefix.run.<entitytype> |
◆ run()
Wikibase\Repo\EditEntity\StatsdTimeRecordingEditFilterHookRunner::run |
( |
| $new, |
|
|
IContextSource | $context, |
|
|
| $summary ) |
- Parameters
-
null | EntityDocument | EntityRedirect | EntityContent | $new | |
IContextSource | $context | |
string | $summary | |
- Returns
- Status
◆ $hookRunner
Wikibase\Repo\EditEntity\StatsdTimeRecordingEditFilterHookRunner::$hookRunner |
|
private |
◆ $stats
Wikibase\Repo\EditEntity\StatsdTimeRecordingEditFilterHookRunner::$stats |
|
private |
◆ $timingPrefix
Wikibase\Repo\EditEntity\StatsdTimeRecordingEditFilterHookRunner::$timingPrefix |
|
private |
The documentation for this class was generated from the following file: