You are here

public function RequestSubscriber::__construct in Raven: Sentry Integration 8.2

Same name and namespace in other branches
  1. 3.x src/EventSubscriber/RequestSubscriber.php \Drupal\raven\EventSubscriber\RequestSubscriber::__construct()

Constructs a new Raven RequestSubscriber.

Parameters

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

File

src/EventSubscriber/RequestSubscriber.php, line 31

Class

RequestSubscriber
Initializes Raven logger if fatal error logging is enabled.

Namespace

Drupal\raven\EventSubscriber

Code

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