|
MediaWiki master
|
An object representing notification with list of recipients. More...
Inherits Countable, and IteratorAggregate.

Public Member Functions | |
| __construct (NotificationEnvelope ... $envelopes) | |
| add (NotificationEnvelope $envelope) | |
| count () | |
| filter ( $callback) | |
| getIterator () | |
| remove (NotificationEnvelope $envelope) | |
An object representing notification with list of recipients.
Definition at line 13 of file NotificationsBatch.php.
| MediaWiki\Notification\NotificationsBatch::__construct | ( | NotificationEnvelope ... | $envelopes | ) |
Definition at line 18 of file NotificationsBatch.php.
References MediaWiki\Notification\NotificationsBatch\add().
| MediaWiki\Notification\NotificationsBatch::add | ( | NotificationEnvelope | $envelope | ) |
Definition at line 24 of file NotificationsBatch.php.
Referenced by MediaWiki\Notification\NotificationsBatch\__construct().
| MediaWiki\Notification\NotificationsBatch::count | ( | ) |
Definition at line 39 of file NotificationsBatch.php.
| MediaWiki\Notification\NotificationsBatch::filter | ( | $callback | ) |
| callable(NotificationEnvelope) | bool $callback Filter, return true to preserve the $envelope |
Definition at line 35 of file NotificationsBatch.php.
| MediaWiki\Notification\NotificationsBatch::getIterator | ( | ) |
Definition at line 46 of file NotificationsBatch.php.
| MediaWiki\Notification\NotificationsBatch::remove | ( | NotificationEnvelope | $envelope | ) |
Definition at line 28 of file NotificationsBatch.php.