| 1 | <?php |
||
| 8 | class ConnectToServerEvent extends Event |
||
| 9 | { |
||
| 10 | |||
| 11 | const CONNECT_TO_SERVER_EVENT = 'worker.server_on_connect'; |
||
| 12 | const CONNECTED_TO_SERVER_EVENT = 'worker.server_on_connected'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var ServerCollection |
||
| 16 | */ |
||
| 17 | private $serverCollection; |
||
| 18 | |||
| 19 | 3 | public function __construct(ServerCollection $serverCollection) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @return ServerCollection |
||
| 26 | */ |
||
| 27 | public function getServerCollection() |
||
| 31 | } |
||
| 32 |