Skip to content

ResponseFactory

Methods

create

public static create(\Psr\Http\Message\RequestInterface $request, string|\Psr\Http\Message\ResponseInterface|\Psr\Http\Message\StreamInterface|\Qubus\Routing\Interfaces\Responsable|null $response = ''): \Psr\Http\Message\ResponseInterface
  • This method is static.

Parameters:

Parameter Type Description
$request \Psr\Http\Message\RequestInterface
$response string|\Psr\Http\Message\ResponseInterface|\Psr\Http\Message\StreamInterface|\Qubus\Routing\Interfaces\Responsable|null


Automatically generated on 2025-10-13