mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
393a6c061e
* Add areas support * Document the Areas feature * Allow to expose swagger area as JSON * Fixes * last fixes
30 lines
781 B
PHP
30 lines
781 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the NelmioApiDocBundle package.
|
|
*
|
|
* (c) Nelmio
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Nelmio\ApiDocBundle;
|
|
|
|
use Nelmio\ApiDocBundle\DependencyInjection\Compiler\ConfigurationPass;
|
|
use Nelmio\ApiDocBundle\DependencyInjection\Compiler\TagDescribersPass;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
|
|
final class NelmioApiDocBundle extends Bundle
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
$container->addCompilerPass(new ConfigurationPass());
|
|
$container->addCompilerPass(new TagDescribersPass());
|
|
}
|
|
}
|