decision = $decision; $this->attributes = $attributes; $this->traceState = $traceState; } /** * Return sampling decision whether span should be recorded or not. */ public function getDecision(): int { return $this->decision; } /** * Return attributes which will be attached to the span. */ public function getAttributes(): iterable { return $this->attributes; } /** * Return a collection of links that will be associated with the Span to be created. */ public function getTraceState(): ?API\TraceStateInterface { return $this->traceState; } }