OpenTelemetry PHP

AbstractLoggerAwareTestCase extends TestCase
in package
uses LoggerAwareTestTrait

AbstractYes

Table of Contents

Properties

$logger  : LoggerInterface|null

Methods

createMock()  : MockObject
createSpanConverterInterfaceMock()  : SpanConverterInterface
createSpanMocks()  : array<string|int, mixed>
getLoggerInterfaceMock()  : LoggerInterface|MockObject

Properties

Methods

createMock()

protected abstract createMock(string $originalClassName) : MockObject
Parameters
$originalClassName : string
Return values
MockObject

createSpanMocks()

protected createSpanMocks() : array<string|int, mixed>
Return values
array<string|int, mixed>

getLoggerInterfaceMock()

protected getLoggerInterfaceMock() : LoggerInterface|MockObject
Tags
psalm-suppress

MismatchingDocblockReturnType

Return values
LoggerInterface|MockObject

        
On this page

Search results