You are here

public function XmlSitemapEnginesTestController::__construct in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 xmlsitemap_engines/tests/modules/xmlsitemap_engines_test/src/Controller/XmlSitemapEnginesTestController.php \Drupal\xmlsitemap_engines_test\Controller\XmlSitemapEnginesTestController::__construct()

Constructs a XmlSitemapEnginesTestController object.

Parameters

\Psr\Log\LoggerInterface $logger: The logger.

File

xmlsitemap_engines/tests/modules/xmlsitemap_engines_test/src/Controller/XmlSitemapEnginesTestController.php, line 31

Class

XmlSitemapEnginesTestController
Returns responses for xmlsitemap_engines_test.ping route.

Namespace

Drupal\xmlsitemap_engines_test\Controller

Code

public function __construct(LoggerInterface $logger) {
  $this->logger = $logger;
}