Skip to content

Commit

Permalink
Merge pull request #690 from Sebjugate/patch-1
Browse files Browse the repository at this point in the history
Update routing.md
  • Loading branch information
akrabat committed Jan 16, 2024
2 parents 8ef73ec + 80f5db0 commit 017505b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/v4/objects/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ use Psr\Container\ContainerInterface;

$container = $app->getContainer();

$container->set('HomeController', function (ContainerInterface $container) {
$container->set(\HomeController::class, function (ContainerInterface $container) {
// retrieve the 'view' from the container
$view = $container->get('view');

Expand Down

0 comments on commit 017505b

Please sign in to comment.