connectionManager = $connectionManager; $this->configuration = $configuration; } public function handle(Request $request, ConnectionInterface $httpConnection) { $sites = $this->getView($httpConnection, 'server.sites.index', [ 'scheme' => $this->configuration->port() === 443 ? 'https' : 'http', 'configuration' => $this->configuration, ]); $httpConnection->send( respond_html($sites) ); } }