Skip to content

Commit f16530b

Browse files
committed
Merge branch '4.4'
* 4.4: Corrected wrong class used in \"Locating Resources\"
2 parents 47598d8 + b11b994 commit f16530b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

components/http_kernel.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -741,10 +741,6 @@ directory of FooBundle.
741741
The HttpKernel component provides a method called :method:`Symfony\\Component\\HttpKernel\\Kernel::locateResource`
742742
which can be used to transform logical paths into physical paths::
743743

744-
use Symfony\Component\HttpKernel\HttpKernel;
745-
746-
// ...
747-
$kernel = new HttpKernel($dispatcher, $resolver);
748744
$path = $kernel->locateResource('@FooBundle/Resources/config/services.xml');
749745

750746
Learn more

0 commit comments

Comments
 (0)