function DatabaseProfilerStorage::purge

File

webprofiler/src/Profiler/DatabaseProfilerStorage.php, line 137

Class

DatabaseProfilerStorage
Implements a profiler storage using the DBTNG query api.

Namespace

Drupal\webprofiler\Profiler

Code

public function purge() {
    $this->database
        ->truncate('webprofiler')
        ->execute();
}