protected function MongoDbProfilerStorage::cleanup 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::cleanup()
1 call to MongoDbProfilerStorage::cleanup()
- MongoDbProfilerStorage::write in vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php - Saves a Profile.
File
- vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php, line 156
Class
Namespace
Symfony\Component\HttpKernel\ProfilerCode
protected function cleanup() {
$this
->getMongo()
->remove(array(
'time' => array(
'$lt' => time() - $this->lifetime,
),
));
}