| 1 | <?php |
||
| 14 | class EventManager extends AbstractOptions |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * An array of subscribers. The array can contain the FQN of the |
||
| 18 | * class to instantiate OR a string to be located with the |
||
| 19 | * service locator. |
||
| 20 | * |
||
| 21 | * @var mixed[] |
||
| 22 | */ |
||
| 23 | protected $subscribers = []; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param mixed[] $subscribers |
||
| 27 | */ |
||
| 28 | 4 | public function setSubscribers(array $subscribers) : self |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return mixed[] |
||
| 37 | */ |
||
| 38 | 4 | public function getSubscribers() : array |
|
| 42 | } |
||
| 43 |