We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 089cc19 commit 0a7b27aCopy full SHA for 0a7b27a
components/http_kernel.rst
@@ -759,10 +759,10 @@ directory of AppBundle.
759
The HttpKernel component provides a method called :method:`Symfony\\Component\\HttpKernel\\Kernel::locateResource`
760
which can be used to transform logical paths into physical paths::
761
762
- use Symfony\Component\HttpKernel\HttpKernel;
+ use Symfony\Component\HttpKernel\Kernel;
763
764
// ...
765
- $kernel = new HttpKernel($dispatcher, $resolver);
+ $kernel = new Kernel($dispatcher, $resolver);
766
$path = $kernel->locateResource('@AppBundle/Resources/config/services.xml');
767
768
Learn more
0 commit comments