Skip to content

Commit

Permalink
[FrameworkBundle] Fix colliding service ids
Browse files Browse the repository at this point in the history
  • Loading branch information
GuilhemN committed Jun 11, 2017
1 parent 7c1febd commit a4d799a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -705,15 +705,15 @@ private function registerRouterConfiguration(array $config, ContainerBuilder $co
->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(
new Reference('file_locator'),
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(
Expand Down

0 comments on commit a4d799a

Please sign in to comment.