Debian Codegraph @

includes/jobqueue/jobs/Hook/RecentChangesPurgeRowsHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Hook;
4
5 /**
6 * This is a hook handler interface, see docs/Hooks.md.
7 * Use the hook name "RecentChangesPurgeRows" to register handlers implementing this interface.
8 *
9 * @stable to implement
10 * @ingroup Hooks
11 */
12 interface RecentChangesPurgeRowsHook {
13 /**
14 * This hook is called by RecentChangesUpdateJob when expired recentchanges rows are deleted, after
15 * deleting those rows but within the same database transaction.
16 *
17 * @since 1.35
18 * @param \stdClass[] $rows Deleted rows as an array of recentchanges row objects (with up to
19 * $wgUpdateRowsPerQuery items)
20 * @return void This hook must not abort, it must return no value
21 */
22 public function onRecentChangesPurgeRows( $rows ): void;
23 }