public function DefaultExceptionSubscriber::__construct

public DefaultExceptionSubscriber::__construct(ConfigFactoryInterface $config_factory)

Constructs a new DefaultExceptionSubscriber.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.

File

core/lib/Drupal/Core/EventSubscriber/DefaultExceptionSubscriber.php, line 46

Class

DefaultExceptionSubscriber
Last-chance handler for exceptions.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!DefaultExceptionSubscriber.php/function/DefaultExceptionSubscriber::__construct/8.1.x