Psr17Factory::createServerRequest( $method,  $uri,  $serverParams = [] )

In this article

Source

public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
{
    return new ServerRequest($method, $uri, [], null, '1.1', $serverParams);
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.