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

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 Symfony\Component\DependencyInjection\ContainerBuilder;
  7. use Symfony\Component\HttpKernel\Bundle\Bundle;
  8. final class SentryBundle extends Bundle
  9. {
  10.     public const SDK_IDENTIFIER 'sentry.php.symfony';
  11.     public function build(ContainerBuilder $container): void
  12.     {
  13.         parent::build($container);
  14.         $container->addCompilerPass(new DbalTracingPass());
  15.         $container->addCompilerPass(new CacheTracingPass());
  16.     }
  17. }