vendor/nelmio/api-doc-bundle/NelmioApiDocBundle.php line 20

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of the NelmioApiDocBundle package.
  4. *
  5. * (c) Nelmio
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Nelmio\ApiDocBundle;
  11. use Nelmio\ApiDocBundle\DependencyInjection\Compiler\ConfigurationPass;
  12. use Nelmio\ApiDocBundle\DependencyInjection\Compiler\PhpDocExtractorPass;
  13. use Nelmio\ApiDocBundle\DependencyInjection\Compiler\TagDescribersPass;
  14. use Symfony\Component\DependencyInjection\ContainerBuilder;
  15. use Symfony\Component\HttpKernel\Bundle\Bundle;
  16. final class NelmioApiDocBundle extends Bundle
  17. {
  18. /**
  19. * {@inheritdoc}
  20. */
  21. public function build(ContainerBuilder $container)
  22. {
  23. $container->addCompilerPass(new ConfigurationPass());
  24. $container->addCompilerPass(new TagDescribersPass());
  25. $container->addCompilerPass(new PhpDocExtractorPass());
  26. }
  27. }