NotificationSent
MMO\client\events · 1 symbol · generated 27 Oct 2026
NotificationSent
NotificationSent.php:12A notification was given to its recipients (Notifications::send): another channel -- an email, a webhook to a team's chat -- listens to this one.
- Namespace
MMO\client\events- Extends
- Event
Index
| notification readonly | ||
| recipients readonly | ||
| __construct($origin, $recipients, $notification) |
Properties2
notification
readonly- Type
- array
recipients
readonly- Type
- array
Methods1
__construct($origin, $recipients, $notification)
NotificationSent.php:18Inherited members (12)
| Methods | Declared by | Description | |
|---|---|---|---|
AddListener($handler, $order) | Event | Register a listener directly (as opposed to ConnectListeners's attribute-based discovery). | |
ConnectListeners($obj) | Event | Scan $obj's methods for #[Listen(EventClass::class)] attributes and register each one as a listener on the matching event class. | |
DisconnectListeners($obj) | Event | Undo a previous ConnectListeners: removes every listener that connect had registered for $obj on this event class. | |
dispatch() | Event | Invoke every GetListeners listener with $this. | |
GetListeners() | Event | Collect every listener for this class, including those registered on its parent classes (so a subclass event is also caught by listeners of its parent event), sorted by ascending $order (ties keep … | |
getOrigin() | Event | ||
HasListener($handler) | Event | ||
RemoveListener($handler) | Event | Remove the last added handler from the listeners. | |
Send($args) | Event | Construct a new instance of this class with $args, then dispatch it to every listener. | |
SetListenerOrder($handler, $order) | Event | Change the order of an already-registered listener, whether added directly via AddListener or indirectly via ConnectListeners (which also stores its [$obj, $methodName] callables here). |