MediaWiki  master
EventRelayerGroup Class Reference

Factory class for spawning EventRelayer objects using configuration. More...

Collaboration diagram for EventRelayerGroup:

Public Member Functions

 __construct (array $config)
 
 getRelayer ( $channel)
 

Protected Attributes

array [] $configByChannel = []
 
EventRelayer [] $relayers = []
 

Detailed Description

Factory class for spawning EventRelayer objects using configuration.

Since
1.27

Definition at line 26 of file EventRelayerGroup.php.

Constructor & Destructor Documentation

◆ __construct()

EventRelayerGroup::__construct ( array  $config)
Parameters
array[]$config Channel configuration

Definition at line 36 of file EventRelayerGroup.php.

Member Function Documentation

◆ getRelayer()

EventRelayerGroup::getRelayer (   $channel)
Parameters
string$channel
Returns
EventRelayer Relayer instance that handles the given channel

Definition at line 44 of file EventRelayerGroup.php.

Member Data Documentation

◆ $configByChannel

array [] EventRelayerGroup::$configByChannel = []
protected

Definition at line 28 of file EventRelayerGroup.php.

◆ $relayers

EventRelayer [] EventRelayerGroup::$relayers = []
protected

Definition at line 31 of file EventRelayerGroup.php.


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