8000 [FrameworkBundle] 3.3: Don't get() private services from debug:router · symfony/symfony@c75e486 · GitHub
[go: up one dir, main page]

Skip to content

Commit c75e486

Browse files
committed
[FrameworkBundle] 3.3: Don't get() private services from debug:router
1 parent 5de56eb commit c75e486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private function extractCallable(Route $route)
137137
}
138138
}
139139

140-
$nameParser = $this->getContainer()->get('controller_name_converter');
140+
$nameParser = new ControllerNameParser($this->getApplication()->getKernel());
141141
try {
142142
$shortNotation = $nameParser->build($controller);
143143
$route->setDefault('_controller', $shortNotation);

0 commit comments

Comments
 (0)
0