public function LoggedStatementsTrait::resetLoggedStatements in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php \Drupal\database_statement_monitoring_test\LoggedStatementsTrait::resetLoggedStatements()
- 9 core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php \Drupal\database_statement_monitoring_test\LoggedStatementsTrait::resetLoggedStatements()
Resets logged statements.
Return value
$this
File
- core/
modules/ system/ tests/ modules/ database_statement_monitoring_test/ src/ LoggedStatementsTrait.php, line 38
Class
- LoggedStatementsTrait
- Trait for Connection classes that can store logged statements.
Namespace
Drupal\database_statement_monitoring_testCode
public function resetLoggedStatements() {
$this->loggedStatements = [];
return $this;
}