public function PdoProfilerStorage::purge in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Profiler/PdoProfilerStorage.php \Symfony\Component\HttpKernel\Profiler\PdoProfilerStorage::purge()
Purges all data from the database.
Overrides ProfilerStorageInterface::purge
File
- vendor/
symfony/ http-kernel/ Profiler/ PdoProfilerStorage.php, line 120
Class
- PdoProfilerStorage
- Base PDO storage for profiling information in a PDO database.
Namespace
Symfony\Component\HttpKernel\ProfilerCode
public function purge() {
$db = $this
->initDb();
$this
->exec($db, 'DELETE FROM sf_profiler_data');
$this
->close($db);
}