for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace OpenTelemetry\Tracing;
class Builder
{
private $spanContext;
public static function create()
return new self();
}
public function setSpanContext(SpanContext $spanContext): self
$this->spanContext = $spanContext;
return $this;
public function getTracer()
return new Tracer($this->spanContext);