private function MongoDbProfilerStorage::getProfile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Profiler/MongoDbProfilerStorage.php \Symfony\Component\HttpKernel\Profiler\MongoDbProfilerStorage::getProfile()
Parameters
array $data:
Return value
2 calls to MongoDbProfilerStorage::getProfile()
- MongoDbProfilerStorage::createProfileFromData in vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php - MongoDbProfilerStorage::readChildren in vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php
File
- vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php, line 225
Class
Namespace
Symfony\Component\HttpKernel\ProfilerCode
private function getProfile(array $data) {
$profile = new Profile($data['token']);
$profile
->setIp($data['ip']);
$profile
->setMethod($data['method']);
$profile
->setUrl($data['url']);
$profile
->setTime($data['time']);
$profile
->setCollectors(unserialize(base64_decode($data['data'])));
return $profile;
}