factory::fromGlobals(); } /** * @param UriInterface|string $uri * @param array $serverParams */ public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface { return $this->factory->createServerRequest($method, $uri, $serverParams); } }