reporters = $reporters; } /** * {@inheritdoc} * * @param Span $span * @return void */ public function reportSpan(Span $span) { foreach ($this->reporters as $reporter) { $reporter->reportSpan($span); } } /** * {@inheritdoc} * * @return void */ public function close() { foreach ($this->reporters as $reporter) { $reporter->close(); } } }