vendor/stof/doctrine-extensions-bundle/src/StofDoctrineExtensionsBundle.php line 9

Open in your IDE?
  1. <?php
  2. namespace Stof\DoctrineExtensionsBundle;
  3. use Stof\DoctrineExtensionsBundle\DependencyInjection\Compiler\ValidateExtensionConfigurationPass;
  4. use Symfony\Component\HttpKernel\Bundle\Bundle;
  5. use Symfony\Component\DependencyInjection\ContainerBuilder;
  6. class StofDoctrineExtensionsBundle extends Bundle
  7. {
  8. /**
  9. * {@inheritdoc}
  10. *
  11. * @return void
  12. */
  13. public function build(ContainerBuilder $container)
  14. {
  15. $container->addCompilerPass(new ValidateExtensionConfigurationPass());
  16. }
  17. }