Documentation

ServerRequestFactory
in package
implements ServerRequestFactoryInterface

PSR-17 server request factory class

Tags
category

Pop

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

version
6.0.0

Table of Contents

Interfaces

ServerRequestFactoryInterface

Methods

createServerRequest()  : ServerRequestInterface
Create a new server request - does not read PHP superglobals, per PSR-17

Methods

createServerRequest()

Create a new server request - does not read PHP superglobals, per PSR-17

public createServerRequest(string $method, UriInterface|string $uri[, array<string|int, mixed> $serverParams = [] ]) : ServerRequestInterface
Parameters
$method : string
$uri : UriInterface|string
$serverParams : array<string|int, mixed> = []
Return values
ServerRequestInterface

        
On this page

Search results