Skip to content

Commit 7fff5c3

Browse files
committed
Merge branch '5.1'
* 5.1: Fixed path for RoutingConfigurator class.
2 parents b33db2f + 7d38696 commit 7fff5c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configuration/micro_kernel_trait.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ Next, create an ``index.php`` file that defines the kernel class and executes it
2424

2525
// index.php
2626
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
27-
use Symfony\Bundle\FrameworkBundle\Routing\Loader\Configurator\RoutingConfigurator;
2827
use Symfony\Component\Config\Loader\LoaderInterface;
2928
use Symfony\Component\DependencyInjection\ContainerBuilder;
3029
use Symfony\Component\HttpFoundation\JsonResponse;
3130
use Symfony\Component\HttpFoundation\Request;
3231
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
32+
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
3333

3434
require __DIR__.'/vendor/autoload.php';
3535

@@ -134,10 +134,10 @@ hold the kernel. Now it looks like this::
134134
namespace App;
135135

136136
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
137-
use Symfony\Bundle\FrameworkBundle\Routing\Loader\Configurator\RoutingConfigurator;
138137
use Symfony\Component\Config\Loader\LoaderInterface;
139138
use Symfony\Component\DependencyInjection\ContainerBuilder;
140139
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
140+
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
141141

142142
class Kernel extends BaseKernel
143143
{

0 commit comments

Comments
 (0)