$serverParams Array of SAPI parameters with which to seed the generated request instance. */ public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface { $uploadedFiles = []; return new ServerRequest($serverParams, $uploadedFiles, $uri, $method); } }