diff options
author | Andrew Dolgov <[email protected]> | 2023-10-20 17:12:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-20 21:13:39 +0300 |
commit | cdd7ad020e165fe680703b6d3319b908b682fb7a (patch) | |
tree | b51eb09b7b4587e8fbc5624ac8d88d28cfcd0b04 /vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/InMemoryReporter.php | |
parent | 45a9ff0c88cbd33892ff16ab837e9059937d656e (diff) |
jaeger-client -> opentelemetry
Diffstat (limited to 'vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/InMemoryReporter.php')
-rw-r--r-- | vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/InMemoryReporter.php | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/InMemoryReporter.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/InMemoryReporter.php deleted file mode 100644 index 8aabe2ee8..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/InMemoryReporter.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php - -namespace Jaeger\Reporter; - -use Jaeger\Span; - -/** - * InMemoryReporter stores spans in memory and returns them via getSpans(). - */ -class InMemoryReporter implements ReporterInterface -{ - /** - * @var Span[] - */ - private $spans = []; - - /** - * {@inheritdoc} - * - * @param Span $span - * @return void - */ - public function reportSpan(Span $span) - { - $this->spans[] = $span; - } - - /** - * @return Span[] - */ - public function getSpans(): array - { - return $this->spans; - } - - /** - * {@inheritdoc} - * - * Only implemented to satisfy the sampler interface. - * - * @return void - */ - public function close() - { - // nothing to do - } -} |