You are here

public function LoggedStatementsTrait::getLoggedStatements in Drupal 8

Same name and namespace in other branches
  1. 9 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 67

Class

LoggedStatementsTrait
Trait for Connection classes that can store logged statements.

Namespace

Drupal\database_statement_monitoring_test

Code

public function getLoggedStatements() {
  return $this->loggedStatements;
}