Base class for reliable event relays.
More...
Base class for reliable event relays.
- Stability: stable
- to extend
Definition at line 29 of file EventRelayer.php.
◆ __construct()
EventRelayer::__construct |
( |
array |
$params | ) |
|
◆ doNotify()
EventRelayer::doNotify |
( |
|
$channel, |
|
|
array |
$events |
|
) |
| |
|
abstractprotected |
◆ notify()
EventRelayer::notify |
( |
|
$channel, |
|
|
|
$event |
|
) |
| |
|
final |
- Parameters
-
string | $channel | |
array | $event | Event data map |
- Returns
- bool Success
Definition at line 47 of file EventRelayer.php.
References doNotify().
◆ notifyMulti()
EventRelayer::notifyMulti |
( |
|
$channel, |
|
|
|
$events |
|
) |
| |
|
final |
- Parameters
-
string | $channel | |
array | $events | List of event data maps |
- Returns
- bool Success
Definition at line 56 of file EventRelayer.php.
References doNotify().
◆ setLogger()
EventRelayer::setLogger |
( |
LoggerInterface |
$logger | ) |
|
◆ $logger
LoggerInterface EventRelayer::$logger |
|
protected |
The documentation for this class was generated from the following file: