public function Logger::__construct in Simple XML sitemap 8.3
Same name and namespace in other branches
- 8.2 src/Logger.php \Drupal\simple_sitemap\Logger::__construct()
- 4.x src/Logger.php \Drupal\simple_sitemap\Logger::__construct()
Logger constructor.
Parameters
\Psr\Log\LoggerInterface $logger:
\Drupal\Core\Messenger\MessengerInterface $messenger:
\Drupal\Core\Session\AccountProxyInterface $current_user:
File
- src/
Logger.php, line 59
Class
- Logger
- Class Logger @package Drupal\simple_sitemap
Namespace
Drupal\simple_sitemapCode
public function __construct(LoggerInterface $logger, MessengerInterface $messenger, AccountProxyInterface $current_user) {
$this->logger = $logger;
$this->messenger = $messenger;
$this->currentUser = $current_user;
}