blob: 36c2ffe2c11e1b567211f42841ee8bedc6343b7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<?php
namespace Jaeger\Codec;
use Jaeger\SpanContext;
use OpenTracing\UnsupportedFormatException;
class BinaryCodec implements CodecInterface
{
/**
* {@inheritdoc}
*
* @see \Jaeger\Tracer::inject
*
* @param SpanContext $spanContext
* @param mixed $carrier
*
* @return void
*/
public function inject(SpanContext $spanContext, &$carrier)
{
throw new UnsupportedFormatException('Binary encoding not implemented');
}
/**
* {@inheritdoc}
*
* @see \Jaeger\Tracer::extract
*
* @param mixed $carrier
* @return SpanContext|null
*
* @throws UnsupportedFormatException
*/
public function extract($carrier)
{
throw new UnsupportedFormatException('Binary encoding not implemented');
}
}
|