Class Request
The default implementation of the RequestInterface
-
PHPFastCGI\FastCGIDaemon\Http\Request
implements
PHPFastCGI\FastCGIDaemon\Http\RequestInterface
Methods summary
public
|
#
__construct( array $params, resource $stdin )
Constructor.
Parameters
- $params
- The FastCGI server params as an associative array
- $stdin
- The FastCGI stdin data as a stream resource
|
public
array
|
#
getParams( )
Get the FastCGI request params
Get the FastCGI request params
Returns
array Associative array of FastCGI request params
Implementation of
|
public
array
|
#
getQuery( )
Returns expected contents of $_GET superglobal array
Returns expected contents of $_GET superglobal array
Returns
array
Implementation of
|
public
array
|
#
getPost( )
Returns expected contents of $_POST superglobal array
Returns expected contents of $_POST superglobal array
Returns
array
Implementation of
|
public
array
|
#
getCookies( )
Returns expected contents of $_COOKIES superglobal
Returns expected contents of $_COOKIES superglobal
Returns
array
Implementation of
|
public
resource
|
#
getStdin( )
Get the FastCGI stdin data
Get the FastCGI stdin data
Returns
resource Stream resource containing FastCGI stdin data
Implementation of
|
public
ServerRequestInterface
|
#
getServerRequest( )
Get the request as a PSR-7 server request
Get the request as a PSR-7 server request
Returns
ServerRequestInterface The request object
Implementation of
|
public
Symfony\Component\HttpFoundation\Request
|
#
getHttpFoundationRequest( )
Get the request as a Symfony HttpFoundation request
Get the request as a Symfony HttpFoundation request
Returns
Symfony\Component\HttpFoundation\Request The request object
Implementation of
|