protected function MongoDbProfilerStorage::readChildren 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::readChildren()
Parameters
string $token:
Return value
Profile[] An array of Profile instances
1 call to MongoDbProfilerStorage::readChildren()
- MongoDbProfilerStorage::createProfileFromData in vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php
File
- vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php, line 144
Class
Namespace
Symfony\Component\HttpKernel\ProfilerCode
protected function readChildren($token) {
$profiles = array();
$cursor = $this
->getMongo()
->find(array(
'parent' => $token,
'data' => array(
'$exists' => true,
),
));
foreach ($cursor as $d) {
$profiles[] = $this
->getProfile($this
->getData($d));
}
return $profiles;
}