MediaWiki
master
NotificationMiddlewareInterface.php
Go to the documentation of this file.
1
<?php
2
namespace
MediaWiki\Notification
;
3
8
interface
NotificationMiddlewareInterface
{
9
16
public
function
handle
(
NotificationsBatch
$batch, callable $next ): void;
17
18
}
MediaWiki\Notification\NotificationsBatch
An object representing notification with list of recipients.
Definition
NotificationsBatch.php:13
MediaWiki\Notification\NotificationMiddlewareInterface
Definition
NotificationMiddlewareInterface.php:8
MediaWiki\Notification\NotificationMiddlewareInterface\handle
handle(NotificationsBatch $batch, callable $next)
Allows performing operations on batch, Should return modified batch.
MediaWiki\Notification
Definition
AgentAware.php:3
includes
Notification
NotificationMiddlewareInterface.php
Generated on Tue Nov 18 2025 23:24:44 for MediaWiki by
1.10.0