OpenTelemetry PHP

MessageFactoryResolverTest extends TestCase
in package

Attributes
#[CoversClass]
\OpenTelemetry\SDK\Common\Adapter\HttpDiscovery\MessageFactoryResolver::class

Table of Contents

Constants

DEPENDENCIES  = [\Psr\Http\Message\RequestFactoryInterface::class, \Psr\Http\Message\ResponseFactoryInterface::class, \Psr\Http\Message\ServerRequestFactoryInterface::class, \Psr\Http\Message\StreamFactoryInterface::class, \Psr\Http\Message\UploadedFileFactoryInterface::class, \Psr\Http\Message\UriFactoryInterface::class]

Methods

provideDependencies()  : Generator
setUp()  : void
test_resolve()  : void
resolveMethodName()  : string

Constants

DEPENDENCIES

private mixed DEPENDENCIES = [\Psr\Http\Message\RequestFactoryInterface::class, \Psr\Http\Message\ResponseFactoryInterface::class, \Psr\Http\Message\ServerRequestFactoryInterface::class, \Psr\Http\Message\StreamFactoryInterface::class, \Psr\Http\Message\UploadedFileFactoryInterface::class, \Psr\Http\Message\UriFactoryInterface::class]

Methods

test_resolve()

public test_resolve(string $method, object $dependency, array<string|int, mixed> $arguments) : void
Parameters
$method : string
$dependency : object
$arguments : array<string|int, mixed>
Attributes
#[DataProvider]
'provideDependencies'

resolveMethodName()

private static resolveMethodName(string $interface) : string
Parameters
$interface : string
Tags
psalm-param

class-string $interface

Return values
string

        
On this page

Search results