Exports the current profiler data.
Parameters
Profile $profile A Profile instance:
Return value
string The exported data
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/Profiler.php, line 113
Class
- Profiler
- Profiler.
Namespace
Symfony\Component\HttpKernel\Profiler
Code
public function export(Profile $profile) {
return base64_encode(serialize($profile));
}