mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
22 lines
728 B
PHP
22 lines
728 B
PHP
<?php
|
|
|
|
namespace Nelmio\ApiDocBundle;
|
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Nelmio\ApiDocBundle\DependencyInjection\LoadExtractorParsersPass;
|
|
use Nelmio\ApiDocBundle\DependencyInjection\RegisterExtractorParsersPass;
|
|
use Nelmio\ApiDocBundle\DependencyInjection\ExtractorHandlerCompilerPass;
|
|
|
|
class NelmioApiDocBundle extends Bundle
|
|
{
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
parent::build($container);
|
|
|
|
$container->addCompilerPass(new LoadExtractorParsersPass());
|
|
$container->addCompilerPass(new RegisterExtractorParsersPass());
|
|
$container->addCompilerPass(new ExtractorHandlerCompilerPass());
|
|
}
|
|
}
|