MediaWiki master
MediaWiki\Notification\RecipientSet Class Reference

Inherits IteratorAggregate, and Countable.

Collaboration diagram for MediaWiki\Notification\RecipientSet:

Public Member Functions

 __construct ( $recipients)
 
 addRecipient (UserIdentity $identity)
 
 count ()
 
 getIterator ()
 
 getRecipients ()
 
 removeRecipient (UserIdentity $identity)
 

Detailed Description

Since
1.44
Stability: unstable

Definition at line 15 of file RecipientSet.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Notification\RecipientSet::__construct ( $recipients)
Parameters
UserIdentity | UserIdentity[]$recipients

Definition at line 23 of file RecipientSet.php.

References MediaWiki\Notification\RecipientSet\addRecipient().

Member Function Documentation

◆ addRecipient()

MediaWiki\Notification\RecipientSet::addRecipient ( UserIdentity $identity)

Definition at line 38 of file RecipientSet.php.

Referenced by MediaWiki\Notification\RecipientSet\__construct().

◆ count()

MediaWiki\Notification\RecipientSet::count ( )

Definition at line 53 of file RecipientSet.php.

◆ getIterator()

MediaWiki\Notification\RecipientSet::getIterator ( )
Returns
ArrayIterator<UserIdentity>

Definition at line 49 of file RecipientSet.php.

◆ getRecipients()

MediaWiki\Notification\RecipientSet::getRecipients ( )
Returns
UserIdentity[]

Definition at line 34 of file RecipientSet.php.

◆ removeRecipient()

MediaWiki\Notification\RecipientSet::removeRecipient ( UserIdentity $identity)

Definition at line 42 of file RecipientSet.php.


The documentation for this class was generated from the following file: