vendor/mobizel/markdown-docs-bundle/src/MobizelMarkdownDocsBundle.php line 21

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Mobizel package.
  4.  *
  5.  * (c) Mobizel
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. declare(strict_types=1);
  11. namespace Mobizel\Bundle\MarkdownDocsBundle;
  12. use Mobizel\Bundle\MarkdownDocsBundle\DependencyInjection\Compiler\RegisterContextsPass;
  13. use Mobizel\Bundle\MarkdownDocsBundle\DependencyInjection\Compiler\RegisterMarkdownExtraPass;
  14. use Symfony\Component\DependencyInjection\ContainerBuilder;
  15. use Symfony\Component\HttpKernel\Bundle\Bundle;
  16. final class MobizelMarkdownDocsBundle extends Bundle
  17. {
  18.     public function build(ContainerBuilder $container): void
  19.     {
  20.         $container->addCompilerPass(new RegisterMarkdownExtraPass());
  21.         $container->addCompilerPass(new RegisterContextsPass());
  22.     }
  23. }