-
#[CoversClass]
-
\OpenTelemetry\SDK\Common\Http\Psr\Message\MessageFactory::class
Table of Contents
Methods
-
test_create_request()
: void
-
test_create_response()
: void
-
test_create_server_request()
: void
-
createRequestFactoryMock()
: RequestFactoryInterface
-
createResponseFactoryMock()
: ResponseFactoryInterface
-
createServerRequestFactoryMock()
: ServerRequestFactoryInterface
test_create_request()
public
test_create_request() : void
test_create_response()
public
test_create_response() : void
test_create_server_request()
public
test_create_server_request() : void
createRequestFactoryMock()
private
createRequestFactoryMock([string|null $requestMethod = 'GET' ][, string|null $requestUri = '' ]) : RequestFactoryInterface
Parameters
-
$requestMethod
: string|null
= 'GET'
-
-
$requestUri
: string|null
= ''
-
Return values
RequestFactoryInterface
createResponseFactoryMock()
private
createResponseFactoryMock([int $code = 200 ][, string $reasonPhrase = '' ]) : ResponseFactoryInterface
Parameters
-
$code
: int
= 200
-
-
$reasonPhrase
: string
= ''
-
Return values
ResponseFactoryInterface
createServerRequestFactoryMock()
private
createServerRequestFactoryMock([string|null $requestMethod = 'GET' ][, string|null $requestUri = '' ]) : ServerRequestFactoryInterface
Parameters
-
$requestMethod
: string|null
= 'GET'
-
-
$requestUri
: string|null
= ''
-
Return values
ServerRequestFactoryInterface