File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -471,9 +471,9 @@ for next requests. The implementation leverages the
471
471
so that the :doc: `HttpKernel component </components/http_kernel >` needs to be
472
472
installed in your application::
473
473
474
- use Symfony\Component\HttpClient\HttpClient;
475
474
use Symfony\Component\HttpClient\CachingHttpClient;
476
475
use Symfony\Component\HttpKernel\HttpCache\Store;
476
+ use Symfony\Component\HttpClient\HttpClient;
477
477
478
478
$store = new Store('/path/to/cache/storage/');
479
479
$client = HttpClient::create();
Original file line number Diff line number Diff line change @@ -427,11 +427,10 @@ some basic validation tasks::
427
427
// src/Controller/ProductController.php
428
428
namespace App\Controller;
429
429
430
- // ...
430
+ use App\Entity\Product;
431
431
use Symfony\Component\HttpFoundation\Response;
432
432
use Symfony\Component\Validator\Validator\ValidatorInterface;
433
-
434
- use App\Entity\Product;
433
+ // ...
435
434
436
435
class ProductController extends AbstractController
437
436
{
You can’t perform that action at this time.
0 commit comments