function LoggerAwareStub::getLogger

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/logger_aware_test/src/LoggerAwareStub.php \Drupal\logger_aware_test\LoggerAwareStub::getLogger()

Gets the logger.

File

core/modules/system/tests/modules/logger_aware_test/src/LoggerAwareStub.php, line 21

Class

LoggerAwareStub
A test class that implements LoggerAwareInterface.

Namespace

Drupal\logger_aware_test

Code

public function getLogger() : LoggerInterface {
    return $this->logger;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.