You are here

public function ErrorHandlerSubscriber::__construct in Devel 8.2

Same name and namespace in other branches
  1. 8.3 src/EventSubscriber/ErrorHandlerSubscriber.php \Drupal\devel\EventSubscriber\ErrorHandlerSubscriber::__construct()
  2. 8 src/EventSubscriber/ErrorHandlerSubscriber.php \Drupal\devel\EventSubscriber\ErrorHandlerSubscriber::__construct()
  3. 4.x src/EventSubscriber/ErrorHandlerSubscriber.php \Drupal\devel\EventSubscriber\ErrorHandlerSubscriber::__construct()

ErrorHandlerSubscriber constructor.

Parameters

\Drupal\Core\Session\AccountProxyInterface $account: The current user.

File

src/EventSubscriber/ErrorHandlerSubscriber.php, line 28

Class

ErrorHandlerSubscriber
Listener for handling PHP errors.

Namespace

Drupal\devel\EventSubscriber

Code

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