sender = $sender; } public function reportSpan(Span $span) { $this->sender->append($span); } public function close() { $this->sender->flush(); $this->sender->close(); } }