You are here

public function MongoDbProfilerStorage::purge in Zircon Profile 8

Same name and namespace in other branches
  1. 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

MongoDbProfilerStorage

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function purge() {
  $this
    ->getMongo()
    ->remove(array());
}