public function MongoDbProfilerStorage::purge

Purges all data from the database.

Overrides ProfilerStorageInterface::purge

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/MongoDbProfilerStorage.php, line 52

Class

MongoDbProfilerStorage

Namespace

Symfony\Component\HttpKernel\Profiler

Code

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