public function export(array $spans)
    {
        $spans = $this->convertSpans($spans);
        return file_put_contents($this->filename, json_encode($spans) . PHP_EOL, FILE_APPEND) !== false;
    }
public function export(array $spans)
    {
        $spans = $this->convertSpans($spans);
        return file_put_contents($this->filename, json_encode($spans) . PHP_EOL, FILE_APPEND) !== false;
    }
public function export ( array $ spans ) { $ spans = $ this -> convertSpans ( $ spans ) ; return file_put_contents ( $ this -> filename , json_encode ( $ spans ) . PHP_EOL , FILE_APPEND ) !== false ; }
Report the provided SpanData to a file in json format.

@param SpanData[] $spans
@return bool
Report the provided SpanData to a file in json format .