mini\Dispatcher\HttpDispatcher::createServerRequestFromGlobals() Method

private

Signature

private function createServerRequestFromGlobals(): Psr\Http\Message\ServerRequestInterface

Returns

Psr\Http\Message\ServerRequestInterface

Documentation

Create ServerRequest from PHP superglobals

SAPI-specific logic for creating ServerRequest from PHP globals. Future FastCGI/fiber-based dispatchers will have their own creation logic.

Source

src/Dispatcher/HttpDispatcher.php:651-675