function ErrorHandlerSubscriber::__construct
Same name in other branches
- 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 26
Class
- ErrorHandlerSubscriber
- Listener for handling PHP errors.
Namespace
Drupal\devel\EventSubscriberCode
public function __construct(AccountProxyInterface $account) {
$this->account = $account;
}