private function MongoDbProfilerStorage::getData in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Profiler/MongoDbProfilerStorage.php \Symfony\Component\HttpKernel\Profiler\MongoDbProfilerStorage::getData()
Parameters
array $data:
Return value
array
4 calls to MongoDbProfilerStorage::getData()
- MongoDbProfilerStorage::createProfileFromData in vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php - MongoDbProfilerStorage::find in vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php - Finds profiler tokens for the given criteria.
- MongoDbProfilerStorage::read in vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php - Reads data associated with the given token.
- MongoDbProfilerStorage::readChildren in vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php
File
- vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php, line 206
Class
Namespace
Symfony\Component\HttpKernel\ProfilerCode
private function getData(array $data) {
return array(
'token' => $data['_id'],
'parent' => isset($data['parent']) ? $data['parent'] : null,
'ip' => isset($data['ip']) ? $data['ip'] : null,
'method' => isset($data['method']) ? $data['method'] : null,
'url' => isset($data['url']) ? $data['url'] : null,
'time' => isset($data['time']) ? $data['time'] : null,
'data' => isset($data['data']) ? $data['data'] : null,
'status_code' => isset($data['status_code']) ? $data['status_code'] : null,
);
}