vendor/damienharper/doctrine-audit-bundle/src/DoctrineAuditBundle/DHDoctrineAuditBundle.php line 10

Open in your IDE?
  1. <?php
  2. namespace DH\DoctrineAuditBundle;
  3. use DH\DoctrineAuditBundle\DependencyInjection\Compiler\DisableAuditViewerPass;
  4. use DH\DoctrineAuditBundle\DependencyInjection\Compiler\StorageConfigurationCompilerPass;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. class DHDoctrineAuditBundle extends Bundle
  8. {
  9.     public function build(ContainerBuilder $container): void
  10.     {
  11.         parent::build($container);
  12.         $container->addCompilerPass(new DisableAuditViewerPass());
  13.         $container->addCompilerPass(new StorageConfigurationCompilerPass());
  14.     }
  15. }