public function XmlSitemapEnginesTestController::__construct in XML sitemap 8
Same name and namespace in other branches
- 2.x 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\ControllerCode
public function __construct(LoggerInterface $logger) {
$this->logger = $logger;
}