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

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\TagDescribersPass;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. final class NelmioApiDocBundle extends Bundle
  16. {
  17. /**
  18. * {@inheritdoc}
  19. */
  20. public function build(ContainerBuilder $container)
  21. {
  22. $container->addCompilerPass(new ConfigurationPass());
  23. $container->addCompilerPass(new TagDescribersPass());
  24. }
  25. }