You are here

public function InMemoryLogger::getLastMessage in Search API Solr 8

Same name and namespace in other branches
  1. 8.3 tests/modules/search_api_solr_test/src/Logger/InMemoryLogger.php \Drupal\search_api_solr_test\Logger\InMemoryLogger::getLastMessage()
  2. 8.2 tests/modules/search_api_solr_test/src/Logger/InMemoryLogger.php \Drupal\search_api_solr_test\Logger\InMemoryLogger::getLastMessage()
  3. 4.x tests/modules/search_api_solr_test/src/Logger/InMemoryLogger.php \Drupal\search_api_solr_test\Logger\InMemoryLogger::getLastMessage()

File

tests/modules/search_api_solr_test/src/Logger/InMemoryLogger.php, line 26

Class

InMemoryLogger
A simple in memory logger.

Namespace

Drupal\search_api_solr_test\Logger

Code

public function getLastMessage() {
  return end($this->messages);
}