HttplugFactory::createResponse( $statusCode = 200,  $reasonPhrase = null,  $headers = [],  $body = null,  $version = '1.1' )

In this article

Source

public function createResponse($statusCode = 200, $reasonPhrase = null, array $headers = [], $body = null, $version = '1.1'): ResponseInterface
{
    return new Response((int) $statusCode, $headers, $body, $version, $reasonPhrase);
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.