public function ErrorHandlerSubscriber::__construct in Devel 8.2
Same name and namespace in other branches
- 8.3 src/EventSubscriber/ErrorHandlerSubscriber.php \Drupal\devel\EventSubscriber\ErrorHandlerSubscriber::__construct()
- 8 src/EventSubscriber/ErrorHandlerSubscriber.php \Drupal\devel\EventSubscriber\ErrorHandlerSubscriber::__construct()
- 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\EventSubscriberCode
public function __construct(AccountProxyInterface $account) {
$this->account = $account;
}