trait ResponseFactoryTrait (View source)

Methods

ResponseInterface
createResponse(int $code = 200, string $reasonPhrase = '')

No description

Details

ResponseInterface createResponse(int $code = 200, string $reasonPhrase = '')

No description

Parameters

int $code
string $reasonPhrase

Return Value

ResponseInterface