Skip to content

Commit 9392b88

Browse files
committed
minor #17572 [HttpKernel] [Controller] Errors on namespace value_resolver (ytilotti)
This PR was merged into the 6.2 branch. Discussion ---------- [HttpKernel] [Controller] Errors on namespace value_resolver Fix namespace on [Adding a Custom Value Resolver](https://symfony.com/doc/current/controller/value_resolver.html#adding-a-custom-value-resolver). Commits ------- 15537d4 [Controller] Errors on namespace value_resolver
2 parents bbbf72a + 15537d4 commit 9392b88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

controller/value_resolver.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ and adding a priority:
292292
autowire: true
293293
# ...
294294
295-
App\ArgumentResolver\BookingIdValueResolver:
295+
App\ValueResolver\BookingIdValueResolver:
296296
tags:
297297
- { name: controller.argument_value_resolver, priority: 150 }
298298
@@ -310,7 +310,7 @@ and adding a priority:
310310
<defaults autowire="true"/>
311311
<!-- ... -->
312312
313-
<service id="App\ArgumentResolver\BookingIdValueResolver">
313+
<service id="App\ValueResolver\BookingIdValueResolver">
314314
<tag name="controller.argument_value_resolver" priority="150"/>
315315
</service>
316316
</services>
@@ -322,7 +322,7 @@ and adding a priority:
322322
// config/services.php
323323
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
324324
325-
use App\ArgumentResolver\BookingIdValueResolver;
325+
use App\ValueResolver\BookingIdValueResolver;
326326
327327
return static function (ContainerConfigurator $container) {
328328
$services = $configurator->services();

0 commit comments

Comments
 (0)