File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ could look something like this::
238
238
// public/index.php
239
239
use App\Kernel;
240
240
use App\LegacyBridge;
241
- use Symfony\Component\Debug \Debug;
241
+ use Symfony\Component\ErrorHandler \Debug;
242
242
use Symfony\Component\HttpFoundation\Request;
243
243
244
244
require dirname(__DIR__).'/vendor/autoload.php';
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ that all have constraints on their properties.
26
26
// src/Entity/BookCollection.php
27
27
namespace App\Entity;
28
28
29
- use Doctrine\Collections\ArrayCollection;
30
- use Doctrine\Collections\Collection
29
+ use Doctrine\Common\ Collections\ArrayCollection;
30
+ use Doctrine\Common\ Collections\Collection
31
31
use Doctrine\ORM\Mapping as ORM;
32
32
use Symfony\Component\Validator\Constraints as Assert;
33
33
Original file line number Diff line number Diff line change @@ -2247,7 +2247,7 @@ session shouldn't be used when matching a request:
2247
2247
2248
2248
// config/routes.php
2249
2249
use App\Controller\MainController;
2250
- use Symfony\Bundle\FrameworkBundle \Routing\Loader\Configurator\RoutingConfigurator;
2250
+ use Symfony\Component \Routing\Loader\Configurator\RoutingConfigurator;
2251
2251
2252
2252
return function (RoutingConfigurator $routes) {
2253
2253
$routes->add('homepage', '/')
Original file line number Diff line number Diff line change @@ -307,10 +307,10 @@ parts of your application and mocking it in your tests.
307
307
308
308
Instead of translating a string at the time of creation, you can use a
309
309
"translatable object", which is an instance of the
310
- :class: `Symfony\\ Component\\ Translation\\ TranslatableMessage ` class. This object stores
310
+ :class: `Symfony\\ Component\\ Translation\\ Translatable ` class. This object stores
311
311
all the information needed to fully translate its contents when needed::
312
312
313
- use Symfony\Component\Translation\TranslatableMessage ;
313
+ use Symfony\Component\Translation\Translatable ;
314
314
315
315
// the first argument is required and it's the original message
316
316
$message = new TranslatableMessage('Symfony is great!');
You can’t perform that action at this time.
0 commit comments