| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class JobTracingMiddleware |
||
| 14 | { |
||
| 15 | public const JOB_TRACING_CONTEXT_FIELD = 'tracingContext'; |
||
| 16 | |||
| 17 | private SpanCreator $spanCreator; |
||
| 18 | private TraceIdHeaderRetriever $traceIdHeaderRetriever; |
||
| 19 | |||
| 20 | public function __construct(SpanCreator $spanCreator, TraceIdHeaderRetriever $traceIdHeaderRetriever) |
||
| 24 | } |
||
| 25 | |||
| 26 | public function handle($job, callable $next) |
||
| 50 |