JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrFILE ON : __82445b/index.php gilour
<?php namespace Sentry\Laravel\Tracing\Routing; use Illuminate\Routing\Route; use Sentry\SentrySdk; use Sentry\Tracing\SpanContext; abstract class TracingRoutingDispatcher { protected function wrapRouteDispatch(callable $dispatch, Route $route) { $parentSpan = SentrySdk::getCurrentHub()->getSpan(); // When there is no span we can skip creating // the span and just immediately return with the // callable result because there is no transaction. if ($parentSpan === null) { return $dispatch(); } $context = new SpanContext; $context->setOp('http.route'); $context->setDescription($route->getActionName()); $span = $parentSpan->startChild($context); SentrySdk::getCurrentHub()->setSpan($span); try { return $dispatch(); } finally { $span->finish(); SentrySdk::getCurrentHub()->setSpan($parentSpan); } } }