bug #23132 [FrameworkBundle] Fix colliding service ids (GuilhemN)
This PR was merged into the 3.4 branch.
Discussion
----------
[FrameworkBundle] Fix colliding service ids
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Rereading #23044, I realized that `routing.loader.directory` is already used, so it should be changed.
Commits
-------
a4d799ad0e
[FrameworkBundle] Fix colliding service ids
This commit is contained in:
commit
d3d62e9fa2
@ -705,7 +705,7 @@ class FrameworkExtension extends Extension
|
||||
->addTag('routing.loader', array('priority' => -10))
|
||||
->addArgument(new Reference('annotation_reader'));
|
||||
|
||||
$container->register('routing.loader.directory', AnnotationDirectoryLoader::class)
|
||||
$container->register('routing.loader.annotation.directory', AnnotationDirectoryLoader::class)
|
||||
->setPublic(false)
|
||||
->addTag('routing.loader', array('priority' => -10))
|
||||
->setArguments(array(
|
||||
@ -713,7 +713,7 @@ class FrameworkExtension extends Extension
|
||||
new Reference('routing.loader.annotation'),
|
||||
));
|
||||
|
||||
$container->register('routing.loader.file', AnnotationFileLoader::class)
|
||||
$container->register('routing.loader.annotation.file', AnnotationFileLoader::class)
|
||||
->setPublic(false)
|
||||
->addTag('routing.loader', array('priority' => -10))
|
||||
->setArguments(array(
|
||||
|
Reference in New Issue
Block a user