You are here

public function Profiler::export in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Profiler/Profiler.php \Symfony\Component\HttpKernel\Profiler\Profiler::export()

Exports the current profiler data.

Parameters

Profile $profile A Profile instance:

Return value

string The exported data

File

vendor/symfony/http-kernel/Profiler/Profiler.php, line 141

Class

Profiler
Profiler.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function export(Profile $profile) {
  return base64_encode(serialize($profile));
}