You are here

public function TwigTracingExtension::__construct in Raven: Sentry Integration 3.x

Extension constructor.

File

src/Twig/TwigTracingExtension.php, line 36

Class

TwigTracingExtension
Provides Twig performance tracing.

Namespace

Drupal\raven\Twig

Code

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