File tree 3 files changed +7
-7
lines changed 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ namespace App\State;
31
31
use ApiPlatform\State\ProcessorInterface;
32
32
use Symfony\Component\HttpFoundation\Request;
33
33
use ApiPlatform\Metadata\Operation;
34
- use ApiPlatform\Serializer \SerializerContextBuilderInterface;
34
+ use ApiPlatform\State \SerializerContextBuilderInterface;
35
35
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
36
36
37
37
final class FormRequestProcessorDecorator implements ProcessorInterface
@@ -101,9 +101,9 @@ namespace App\Providers;
101
101
102
102
use Illuminate\Support\ServiceProvider;
103
103
use App\State\FormRequestProcessorDecorator;
104
- use ApiPlatform\Core\State\ProcessorInterface;
104
+ use ApiPlatform\State\ProcessorInterface;
105
+ use ApiPlatform\State\SerializerContextBuilderInterface;
105
106
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
106
- use ApiPlatform\Core\Serializer\SerializerContextBuilderInterface;
107
107
108
108
class AppServiceProvider extends ServiceProvider
109
109
{
Original file line number Diff line number Diff line change @@ -2750,8 +2750,8 @@ The decorator could be like this:
2750
2750
<?php
2751
2751
namespace App\S erializer;
2752
2752
2753
- use ApiPlatform\G raphQl\S erializer\S erializerContextBuilderInterface;
2754
2753
use App\E ntity\B ook;
2754
+ use ApiPlatform\S tate\S erializerContextBuilderInterface;
2755
2755
use Symfony\C omponent\S ecurity\C ore\A uthorization\A uthorizationCheckerInterface;
2756
2756
2757
2757
final class BookContextBuilder implements SerializerContextBuilderInterface
@@ -2783,8 +2783,8 @@ final class BookContextBuilder implements SerializerContextBuilderInterface
2783
2783
namespace App\S ervices;
2784
2784
2785
2785
use App\M odels\B ook;
2786
- use ApiPlatform\G raphQl\S erializer\S erializerContextBuilderInterface;
2787
2786
use Illuminate\S upport\F acades\A uth;
2787
+ use ApiPlatform\S tate\S erializerContextBuilderInterface;
2788
2788
2789
2789
final class BookContextBuilder implements SerializerContextBuilderInterface
2790
2790
{
Original file line number Diff line number Diff line change @@ -932,10 +932,10 @@ services:
932
932
// api/src/Serializer/BookContextBuilder.php
933
933
namespace App\S erializer;
934
934
935
- use ApiPlatform \S erializer \S erializerContextBuilderInterface ;
935
+ use App \A piResource \B ook ;
936
936
use Symfony\C omponent\H ttpFoundation\R equest;
937
+ use ApiPlatform\S tate\S erializerContextBuilderInterface;
937
938
use Symfony\C omponent\S ecurity\C ore\A uthorization\A uthorizationCheckerInterface;
938
- use App\A piResource\B ook;
939
939
940
940
final class BookContextBuilder implements SerializerContextBuilderInterface
941
941
{
You can’t perform that action at this time.
0 commit comments