|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct () | |
| createRequest ( $method, $uri, array $headers=[], $body=null, $protocolVersion='1.1') | |
| createResponse ( $statusCode=200, $reasonPhrase=null, array $headers=[], $body=null, $protocolVersion='1.1') | |
Creates Slim 3 messages.
Definition at line 17 of file SlimMessageFactory.php.
| Http\Message\MessageFactory\SlimMessageFactory::__construct | ( | ) |
Definition at line 35 of file SlimMessageFactory.php.
| Http\Message\MessageFactory\SlimMessageFactory::createRequest | ( | $method, | |
| $uri, | |||
| array | $headers = [], |
||
$body = null, |
|||
$protocolVersion = '1.1' |
|||
| ) |
{Creates a new PSR-7 request.
| string | $method | |
| string | UriInterface | $uri | |
| array | $headers | |
| resource | string | StreamInterface | null | $body | |
| string | $protocolVersion |
Implements Http\Message\RequestFactory.
Definition at line 44 of file SlimMessageFactory.php.
| Http\Message\MessageFactory\SlimMessageFactory::createResponse | ( | $statusCode = 200, |
|
$reasonPhrase = null, |
|||
| array | $headers = [], |
||
$body = null, |
|||
$protocolVersion = '1.1' |
|||
| ) |
{Creates a new PSR-7 response.
| int | $statusCode | |
| string | null | $reasonPhrase | |
| array | $headers | |
| resource | string | StreamInterface | null | $body | |
| string | $protocolVersion |
Implements Http\Message\ResponseFactory.
Definition at line 65 of file SlimMessageFactory.php.