Skip to content

Commit 18cfb27

Browse files
committed
fix: move resource name collection factory
1 parent b461993 commit 18cfb27

File tree

63 files changed

+95
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+95
-91
lines changed

src/Action/EntrypointAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace ApiPlatform\Action;
1515

1616
use ApiPlatform\Api\Entrypoint;
17-
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
17+
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
1818

1919
/**
2020
* Generates the API entrypoint.

src/Api/Entrypoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace ApiPlatform\Api;
1515

16-
use ApiPlatform\Core\Metadata\Resource\ResourceNameCollection;
16+
use ApiPlatform\Metadata\Resource\ResourceNameCollection;
1717

1818
/**
1919
* The first path you will see in the API.

src/Api/ResourceClassResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
namespace ApiPlatform\Api;
1515

16-
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
1716
use ApiPlatform\Exception\InvalidArgumentException;
17+
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
1818
use ApiPlatform\Util\ClassInfoTrait;
1919

2020
/**

src/Core/Bridge/NelmioApiDoc/Extractor/AnnotationsProvider/ApiPlatformProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
use ApiPlatform\Core\Bridge\NelmioApiDoc\Parser\ApiPlatformParser;
1919
use ApiPlatform\Core\Bridge\Symfony\Routing\OperationMethodResolverInterface;
2020
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface;
21-
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
2221
use ApiPlatform\Core\Metadata\Resource\ResourceMetadata;
2322
use ApiPlatform\Documentation\Documentation;
23+
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
2424
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
2525
use Nelmio\ApiDocBundle\Extractor\AnnotationsProviderInterface;
2626
use Psr\Container\ContainerInterface;

src/Core/Bridge/Symfony/Bundle/Action/SwaggerUiAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
use ApiPlatform\Core\Api\FormatsProviderInterface;
1717
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface;
18-
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
1918
use ApiPlatform\Core\Metadata\Resource\ResourceMetadata;
2019
use ApiPlatform\Documentation\Documentation;
2120
use ApiPlatform\Exception\RuntimeException;
2221
use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface;
22+
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
2323
use ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiAction as OpenApiSwaggerUiAction;
2424
use ApiPlatform\Util\RequestAttributesExtractor;
2525
use Symfony\Component\HttpFoundation\Request;

src/Core/Bridge/Symfony/Bundle/Command/RectorCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
use ApiPlatform\Core\Bridge\Rector\Service\SubresourceTransformer;
1818
use ApiPlatform\Core\Bridge\Rector\Set\ApiPlatformSetList;
1919
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface;
20-
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
2120
use ApiPlatform\Core\Operation\Factory\SubresourceOperationFactoryInterface;
21+
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
2222
use PhpParser\Lexer\Emulative;
2323
use PhpParser\NodeTraverser;
2424
use PhpParser\Parser\Php7;

src/Core/Bridge/Symfony/Bundle/Command/SwaggerCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Command;
1515

16-
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
1716
use ApiPlatform\Core\Swagger\Serializer\DocumentationNormalizer;
1817
use ApiPlatform\Documentation\Documentation;
18+
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
1919
use ApiPlatform\OpenApi\Serializer\ApiGatewayNormalizer;
2020
use Symfony\Component\Console\Command\Command;
2121
use Symfony\Component\Console\Exception\InvalidOptionException;

src/Core/Bridge/Symfony/Maker/MakeDataPersister.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace ApiPlatform\Core\Bridge\Symfony\Maker;
1515

16-
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
16+
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
1717
use Symfony\Bundle\MakerBundle\ConsoleStyle;
1818
use Symfony\Bundle\MakerBundle\DependencyBuilder;
1919
use Symfony\Bundle\MakerBundle\Generator;

src/Core/Bridge/Symfony/Maker/MakeDataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace ApiPlatform\Core\Bridge\Symfony\Maker;
1515

16-
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
16+
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
1717
use Symfony\Bundle\MakerBundle\ConsoleStyle;
1818
use Symfony\Bundle\MakerBundle\DependencyBuilder;
1919
use Symfony\Bundle\MakerBundle\Exception\RuntimeCommandException;

src/Core/GraphQl/Type/SchemaBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
use ApiPlatform\Core\GraphQl\Type\TypesContainerInterface as TypesContainerLegacyInterface;
1717
use ApiPlatform\Core\GraphQl\Type\TypesFactoryInterface as TypesFactoryLegacyInterface;
1818
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface;
19-
use ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
2019
use ApiPlatform\GraphQl\Type\TypesContainerInterface;
2120
use ApiPlatform\GraphQl\Type\TypesFactoryInterface;
21+
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
2222
use GraphQL\Type\Definition\ObjectType;
2323
use GraphQL\Type\Definition\WrappingType;
2424
use GraphQL\Type\Schema;

0 commit comments

Comments
 (0)