You are here

public function CurrentUserProcessor::__construct in Monolog 8

Same name and namespace in other branches
  1. 2.x src/Logger/Processor/CurrentUserProcessor.php \Drupal\monolog\Logger\Processor\CurrentUserProcessor::__construct()

Parameters

\Drupal\Core\Session\AccountProxyInterface $account_proxy:

File

src/Logger/Processor/CurrentUserProcessor.php, line 20

Class

CurrentUserProcessor
Class UidProcessor

Namespace

Drupal\monolog\Logger\Processor

Code

public function __construct(AccountProxyInterface $account_proxy) {
  $this->accountProxy = $account_proxy;
}