diff --git a/src/DebugBar/DataCollector/PDO/TraceablePDO.php b/src/DebugBar/DataCollector/PDO/TraceablePDO.php index 5f7688b..9114c04 100644 --- a/src/DebugBar/DataCollector/PDO/TraceablePDO.php +++ b/src/DebugBar/DataCollector/PDO/TraceablePDO.php @@ -169,6 +169,16 @@ class TraceablePDO extends PDO return $this->executedStatements; } + /** + * Reset the list of executed statements + * + * @return void + */ + public function resetExecutedStatements() + { + $this->executedStatements = array(); + } + /** * Returns the list of failed statements *