1 | <?php |
||
18 | class ChangeVisibilityNotificationJob extends ChangeModificationNotificationJob { |
||
19 | |||
20 | private $batchSize; |
||
21 | private $lbFactory; |
||
22 | |||
23 | /** |
||
24 | * Constructs a ChangeVisibilityNotificationJob for the repo revisions given. |
||
25 | * |
||
26 | * @param LBFactory $lbFactory |
||
27 | * @param int $batchSize |
||
28 | * @param array $params Contains the name of the repo, revisionIdentifiersJson to redact |
||
29 | * and the visibilityBitFlag to set. |
||
30 | */ |
||
31 | public function __construct( LBFactory $lbFactory, int $batchSize, array $params = [] ) { |
||
43 | |||
44 | public static function newFromGlobalState( Title $unused, array $params ) { |
||
53 | |||
54 | /** |
||
55 | * @param int[] $relevantChanges |
||
56 | */ |
||
57 | protected function modifyChanges( array $relevantChanges ): void { |
||
73 | |||
74 | } |
||
75 |