function ErrorHandlerSubscriber::__construct

ErrorHandlerSubscriber constructor.

Parameters

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

File

src/EventSubscriber/ErrorHandlerSubscriber.php, line 21

Class

ErrorHandlerSubscriber
Listener for handling PHP errors.

Namespace

Drupal\devel\EventSubscriber

Code

public function __construct(protected AccountProxyInterface $account) {
}