use Twig\Profiler\Profile;
/**
* @author Fabien Potencier <fabien@symfony.com>
*/
final class BlackfireDumper{ public function dump(Profile
$profile): string
{ $data =
[];
$this->
dumpProfile('main()',
$profile,
$data);
$this->
dumpChildren('main()',
$profile,
$data);
$start =
sprintf('%f',
microtime(true
));
$str = <<<EOF
file-format: BlackfireProbe
cost-dimensions: wt mu pmu
request-start:
$start
EOF;