5use GuzzleHttp\Psr7\ServerRequest;
6use Psr\Http\Message\ServerRequestInterface;
27 public function create() : ServerRequestInterface
29 return ServerRequest::fromGlobals();
An exception for terminatinating execution or to throw for unit testing.
create()
Creates a new ServerRequest object with the help of the underlying library.ServerRequestInterface