| 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 array |
||
| 22 | */ |
||
| 23 | protected $subscribers = []; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param array $subscribers |
||
| 27 | * @return self |
||
| 28 | */ |
||
| 29 | 4 | public function setSubscribers($subscribers) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | 4 | public function getSubscribers() |
|
| 43 | } |
||
| 44 |