| 1 | <?php |
||
| 9 | class EventManager extends Component |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Array of events namespaces |
||
| 13 | * |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | public $namespaces = []; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * You can set unique nsp for channels |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public $nsp = ''; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * List with all events |
||
| 27 | * |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | protected static $list = []; |
||
| 31 | |||
| 32 | public function getList(): array |
||
| 49 | } |
||
| 50 |