vendor/sentry/sentry-symfony/src/SentryBundle.php line 13

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Sentry\SentryBundle;
  4. use Sentry\SentryBundle\DependencyInjection\Compiler\CacheTracingPass;
  5. use Sentry\SentryBundle\DependencyInjection\Compiler\DbalTracingPass;
  6. use Sentry\SentryBundle\DependencyInjection\Compiler\HttpClientTracingPass;
  7. use Symfony\Component\DependencyInjection\ContainerBuilder;
  8. use Symfony\Component\HttpKernel\Bundle\Bundle;
  9. final class SentryBundle extends Bundle
  10. {
  11.     public const SDK_IDENTIFIER 'sentry.php.symfony';
  12.     public const SDK_VERSION '4.9.2';
  13.     public function build(ContainerBuilder $container): void
  14.     {
  15.         parent::build($container);
  16.         $container->addCompilerPass(new DbalTracingPass());
  17.         $container->addCompilerPass(new CacheTracingPass());
  18.         $container->addCompilerPass(new HttpClientTracingPass());
  19.     }
  20. }