blob: 7cd4d4e7d6d9e4a25bbaf1bdbf3723565a5942d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
declare(strict_types=1);
namespace OpenTelemetry\SDK\Trace;
use OpenTelemetry\API;
use OpenTelemetry\SDK\Common\Future\CancellationInterface;
class NoopTracerProvider extends API\Trace\NoopTracerProvider implements TracerProviderInterface
{
public function forceFlush(?CancellationInterface $cancellation = null): bool
{
return true;
}
public function shutdown(?CancellationInterface $cancellation = null): bool
{
return true;
}
}
|