[ SwooleServer::class => SwooleServerFactory::class, ], 'listeners' => [ StoreServerNameListener::class, AfterWorkerStartListener::class, InitProcessTitleListener::class, ], 'commands' => [ StartServer::class, ], 'publish' => [ [ 'id' => 'config', 'description' => 'The config for server.', 'source' => __DIR__ . '/../publish/server.php', 'destination' => BASE_PATH . '/config/autoload/server.php', ], ], ]; } }