function LoggedStatementsTrait::getLoggedStatements
Same name in other branches
- 8.9.x core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php \Drupal\database_statement_monitoring_test\LoggedStatementsTrait::getLoggedStatements()
- 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php \Drupal\database_statement_monitoring_test\LoggedStatementsTrait::getLoggedStatements()
Returns the executed queries.
Return value
string[]
File
-
core/
modules/ system/ tests/ modules/ database_statement_monitoring_test/ src/ LoggedStatementsTrait.php, line 64
Class
- LoggedStatementsTrait
- Trait for Connection classes that can store logged statements.
Namespace
Drupal\database_statement_monitoring_testCode
public function getLoggedStatements() {
return $this->loggedStatements;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.