mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Added a class to the nelmio_api_doc.generator_locator service definition
This commit is contained in:
parent
a306d6c96e
commit
a2191826de
@ -27,6 +27,7 @@ use Symfony\Component\DependencyInjection\Definition;
|
||||
use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
|
||||
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||
use Symfony\Component\DependencyInjection\Reference;
|
||||
use Symfony\Component\DependencyInjection\ServiceLocator;
|
||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
||||
use Symfony\Component\Routing\RouteCollection;
|
||||
|
||||
@ -127,7 +128,7 @@ final class NelmioApiDocExtension extends Extension implements PrependExtensionI
|
||||
}
|
||||
}
|
||||
|
||||
$container->register('nelmio_api_doc.generator_locator')
|
||||
$container->register('nelmio_api_doc.generator_locator', ServiceLocator::class)
|
||||
->setPublic(false)
|
||||
->addTag('container.service_locator')
|
||||
->addArgument(array_combine(
|
||||
|
Loading…
x
Reference in New Issue
Block a user