public function MongoDbProfilerStorage::purge 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::purge()
Purges all data from the database.
Overrides ProfilerStorageInterface::purge
File
- vendor/
symfony/ http-kernel/ Profiler/ MongoDbProfilerStorage.php, line 52
Class
Namespace
Symfony\Component\HttpKernel\ProfilerCode
public function purge() {
$this
->getMongo()
->remove(array());
}