File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ namespace App\State;
3131use ApiPlatform\State\ProcessorInterface;
3232use Symfony\Component\HttpFoundation\Request;
3333use ApiPlatform\Metadata\Operation;
34- use ApiPlatform\Serializer \SerializerContextBuilderInterface;
34+ use ApiPlatform\State \SerializerContextBuilderInterface;
3535use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
3636
3737final class FormRequestProcessorDecorator implements ProcessorInterface
@@ -101,9 +101,9 @@ namespace App\Providers;
101101
102102use Illuminate\Support\ServiceProvider;
103103use App\State\FormRequestProcessorDecorator;
104- use ApiPlatform\Core\State\ProcessorInterface;
104+ use ApiPlatform\State\ProcessorInterface;
105+ use ApiPlatform\State\SerializerContextBuilderInterface;
105106use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
106- use ApiPlatform\Core\Serializer\SerializerContextBuilderInterface;
107107
108108class AppServiceProvider extends ServiceProvider
109109{
Original file line number Diff line number Diff line change @@ -2750,8 +2750,8 @@ The decorator could be like this:
27502750<?php
27512751namespace App\S erializer;
27522752
2753- use ApiPlatform\G raphQl\S erializer\S erializerContextBuilderInterface;
27542753use App\E ntity\B ook;
2754+ use ApiPlatform\S tate\S erializerContextBuilderInterface;
27552755use Symfony\C omponent\S ecurity\C ore\A uthorization\A uthorizationCheckerInterface;
27562756
27572757final class BookContextBuilder implements SerializerContextBuilderInterface
@@ -2783,8 +2783,8 @@ final class BookContextBuilder implements SerializerContextBuilderInterface
27832783namespace App\S ervices;
27842784
27852785use App\M odels\B ook;
2786- use ApiPlatform\G raphQl\S erializer\S erializerContextBuilderInterface;
27872786use Illuminate\S upport\F acades\A uth;
2787+ use ApiPlatform\S tate\S erializerContextBuilderInterface;
27882788
27892789final class BookContextBuilder implements SerializerContextBuilderInterface
27902790{
Original file line number Diff line number Diff line change @@ -932,10 +932,10 @@ services:
932932// api/src/Serializer/BookContextBuilder.php
933933namespace App\S erializer;
934934
935- use ApiPlatform \S erializer \S erializerContextBuilderInterface ;
935+ use App \A piResource \B ook ;
936936use Symfony\C omponent\H ttpFoundation\R equest;
937+ use ApiPlatform\S tate\S erializerContextBuilderInterface;
937938use Symfony\C omponent\S ecurity\C ore\A uthorization\A uthorizationCheckerInterface;
938- use App\A piResource\B ook;
939939
940940final class BookContextBuilder implements SerializerContextBuilderInterface
941941{
You can’t perform that action at this time.
0 commit comments