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

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