mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[ApiBundle] Unification of services names - fix
This commit is contained in:
parent
01c0f9d137
commit
06312148c7
55 changed files with 71 additions and 3 deletions
|
|
@ -19,6 +19,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ApiResourceConfigurationMerger::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ApiResourceConfigurationMerger implements ApiResourceConfigurationMergerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
LegacyResourceMetadataMerger::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class LegacyResourceMetadataMerger implements MetadataMergerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ResourceMetadataPropertyValueResolver::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ResourceMetadataPropertyValueResolver implements ResourceMetadataPropertyValueResolverInteface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
AddressDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class AddressDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
AdminUserDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class AdminUserDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ChannelDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ChannelDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
CountryDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class CountryDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
CustomerDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class CustomerDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
LocaleDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class LocaleDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
MessengerDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class MessengerDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
PaymentMethodDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class PaymentMethodDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ProductAttributeDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ProductAttributeDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ProductDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ProductDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ProductTaxonDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ProductTaxonDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ProductVariantDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ProductVariantDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
PromotionCouponDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class PromotionCouponDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
PromotionDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class PromotionDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ShippingMethodDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ShippingMethodDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
TranslatableDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class TranslatableDataPersister implements ContextAwareDataPersisterInterface, ResumableDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ZoneDataPersister::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ZoneDataPersister implements ContextAwareDataPersisterInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
AccountResetPasswordItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class AccountResetPasswordItemDataProvider implements RestrictedDataProviderInterface, ItemDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
AdminOrderItemAdjustmentsSubresourceDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class AdminOrderItemAdjustmentsSubresourceDataProvider implements RestrictedDataProviderInterface, SubresourceDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
AdminResetPasswordItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class AdminResetPasswordItemDataProvider implements RestrictedDataProviderInterface, ItemDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ChannelAwareItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ChannelAwareItemDataProvider implements ItemDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ChannelsCollectionDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ChannelsCollectionDataProvider implements ContextAwareCollectionDataProviderInterface, RestrictedDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
CustomerItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class CustomerItemDataProvider implements RestrictedDataProviderInterface, ItemDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
OrderAdjustmentsSubresourceDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class OrderAdjustmentsSubresourceDataProvider implements RestrictedDataProviderInterface, SubresourceDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
OrderItemAdjustmentsSubresourceDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class OrderItemAdjustmentsSubresourceDataProvider implements RestrictedDataProviderInterface, SubresourceDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
OrderItemItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class OrderItemItemDataProvider implements ItemDataProviderInterface, RestrictedDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
OrderItemUnitItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class OrderItemUnitItemDataProvider implements ItemDataProviderInterface, RestrictedDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
PaymentItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class PaymentItemDataProvider implements ItemDataProviderInterface, RestrictedDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
PaymentMethodsCollectionDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class PaymentMethodsCollectionDataProvider implements ContextAwareCollectionDataProviderInterface, RestrictedDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ProductAttributesSubresourceDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ProductAttributesSubresourceDataProvider implements RestrictedDataProviderInterface, SubresourceDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ProductItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ProductItemDataProvider implements RestrictedDataProviderInterface, ItemDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ShipmentItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ShipmentItemDataProvider implements ItemDataProviderInterface, RestrictedDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ShippingMethodsCollectionDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ShippingMethodsCollectionDataProvider implements ContextAwareCollectionDataProviderInterface, RestrictedDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
VerifyCustomerAccountItemDataProvider::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class VerifyCustomerAccountItemDataProvider implements RestrictedDataProviderInterface, ItemDataProviderInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ChannelCodeAwareInputCommandDataTransformer::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ChannelCodeAwareInputCommandDataTransformer implements CommandDataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
CommandAwareInputDataTransformer::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class CommandAwareInputDataTransformer implements DataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
CommandDataTransformerInterface::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
interface CommandDataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
LocaleCodeAwareInputCommandDataTransformer::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class LocaleCodeAwareInputCommandDataTransformer implements CommandDataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
LoggedInCustomerEmailAwareCommandDataTransformer::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class LoggedInCustomerEmailAwareCommandDataTransformer implements CommandDataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
LoggedInCustomerEmailIfNotSetAwareCommandDataTransformer::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class LoggedInCustomerEmailIfNotSetAwareCommandDataTransformer implements CommandDataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
LoggedInShopUserIdAwareCommandDataTransformer::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class LoggedInShopUserIdAwareCommandDataTransformer implements CommandDataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
OrderTokenValueAwareInputCommandDataTransformer::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class OrderTokenValueAwareInputCommandDataTransformer implements CommandDataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ShipmentIdAwareInputCommandDataTransformer::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ShipmentIdAwareInputCommandDataTransformer implements CommandDataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
SubresourceIdAwareCommandDataTransformer::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class SubresourceIdAwareCommandDataTransformer implements CommandDataTransformerInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
PostgreSQLDriverExceptionListener::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class PostgreSQLDriverExceptionListener
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,49 +22,59 @@
|
|||
<argument type="service" id="Sylius\Bundle\ApiBundle\OpenApi\Factory\OpenApiFactory.inner" />
|
||||
<argument type="tagged_iterator" tag="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.factory" alias="Sylius\Bundle\ApiBundle\OpenApi\Factory\OpenApiFactory" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\AcceptLanguageHeaderDocumentationModifier">
|
||||
<argument type="service" id="sylius.repository.locale" />
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.accept_language_header" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\AcceptLanguageHeaderDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\AdministratorDocumentationModifier">
|
||||
<argument>%sylius.security.api_route%</argument>
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.administrator" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\AdministratorDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\PathHiderDocumentationModifier">
|
||||
<argument>%sylius.api.paths_to_hide%</argument>
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.path_hider" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\PathHiderDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\AttributeTypeDocumentationModifier">
|
||||
<argument type="service" id="sylius.registry.attribute_type" />
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.attribute_type" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\AttributeTypeDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ProductDocumentationModifier">
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.product" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ProductDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ImageDocumentationModifier">
|
||||
<argument type="service" id="sylius_api.provider.liip_image_filters" />
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.image" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ImageDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ProductReviewDocumentationModifier">
|
||||
<argument>%sylius.security.api_route%</argument>
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.product_review" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ProductReviewDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ProductSlugDocumentationModifier">
|
||||
<argument>%sylius.security.api_route%</argument>
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.product_slug" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ProductSlugDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ProductVariantDocumentationModifier">
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.product_variant" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ProductVariantDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ShippingMethodDocumentationModifier">
|
||||
<argument>%sylius.security.api_route%</argument>
|
||||
|
|
@ -72,11 +82,13 @@
|
|||
<argument>%sylius.shipping_calculators%</argument>
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.shipping_method" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\ShippingMethodDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\CustomerDocumentationModifier">
|
||||
<argument>%sylius.security.api_route%</argument>
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.customer" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\CustomerDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\StatisticsDocumentationModifier">
|
||||
<argument>%sylius.security.api_route%</argument>
|
||||
|
|
@ -84,6 +96,7 @@
|
|||
<argument>%sylius_core.orders_statistics.intervals_map%</argument>
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.statistics" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\StatisticsDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\PromotionDocumentationModifier">
|
||||
<argument>%sylius.security.api_route%</argument>
|
||||
|
|
@ -91,15 +104,18 @@
|
|||
<argument>%sylius.promotion_rules%</argument>
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.promotion" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\PromotionDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\OrderAdjustmentsTypeDocumentationModifier">
|
||||
<argument>%sylius.security.api_route%</argument>
|
||||
<argument>%sylius.model.adjustment.class%</argument>
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.order_adjustments" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\OrderAdjustmentsTypeDocumentationModifier" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\OpenApi\Documentation\AddressLogEntryDocumentationModifier">
|
||||
<tag name="sylius.open_api.modifier" />
|
||||
</service>
|
||||
<service id="sylius_api.open_api.documentation_modifier.address_log_entry" alias="Sylius\Bundle\ApiBundle\OpenApi\Documentation\AddressLogEntryDocumentationModifier" />
|
||||
</services>
|
||||
</container>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<service id="Sylius\Bundle\ApiBundle\PropertyInfo\Extractor\EmptyPropertyListExtractor">
|
||||
<tag name="property_info.list_extractor" priority="-2000" />
|
||||
</service>
|
||||
<service id="sylius_api.property_info.extractor.empty_property_list" alias="Sylius\Bundle\ApiBundle\PropertyInfo\Extractor\EmptyPropertyListExtractor" />
|
||||
<service id="sylius_api.extractor.property_info.empty_property_list" alias="Sylius\Bundle\ApiBundle\PropertyInfo\Extractor\EmptyPropertyListExtractor" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\DataTransformer\OrderTokenValueAwareInputCommandDataTransformer">
|
||||
<tag name="sylius.api.command_data_transformer" priority="1000" />
|
||||
|
|
@ -169,7 +169,7 @@
|
|||
<argument type="service" id="sylius.eligibility_checker.promotion" />
|
||||
<argument type="service" id="sylius.eligibility_checker.promotion_coupon" />
|
||||
</service>
|
||||
<service id="sylius_api.eligibility_checker.applied_coupon" alias="Sylius\Bundle\ApiBundle\Checker\AppliedCouponEligibilityCheckerInterface" />
|
||||
<service id="sylius_api.checker.applied_coupon_eligibility" alias="Sylius\Bundle\ApiBundle\Checker\AppliedCouponEligibilityCheckerInterface" />
|
||||
|
||||
<service id="Sylius\Bundle\ApiBundle\Modifier\OrderAddressModifierInterface" class="Sylius\Bundle\ApiBundle\Modifier\OrderAddressModifier" public="true">
|
||||
<argument type="service" id="sylius_abstraction.state_machine" />
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@
|
|||
<service id="Sylius\Bundle\ApiBundle\Validator\Constraints\PromotionCouponEligibilityValidator">
|
||||
<argument type="service" id="sylius.repository.promotion_coupon" />
|
||||
<argument type="service" id="sylius.repository.order" />
|
||||
<argument type="service" id="sylius_api.eligibility_checker.applied_coupon" />
|
||||
<argument type="service" id="sylius_api.checker.applied_coupon_eligibility" />
|
||||
<tag name="validator.constraint_validator" alias="sylius_api_promotion_coupon_eligibility" />
|
||||
</service>
|
||||
<service id="sylius_api.validator.promotion_coupon_eligibility" alias="Sylius\Bundle\ApiBundle\Validator\Constraints\PromotionCouponEligibilityValidator" />
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0, use the usual symfony logic for validation.',
|
||||
PercentageDiscountActionValidator::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0, use the usual symfony logic for validation. */
|
||||
final class PercentageDiscountActionValidator implements ActionValidatorInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
AccountVerificationTokenEligibilityValidator::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class AccountVerificationTokenEligibilityValidator extends ConstraintValidator
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ResourceApiInputDataPropertiesValidator::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
final class ResourceApiInputDataPropertiesValidator implements ResourceInputDataPropertiesValidatorInterface
|
||||
{
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ trigger_deprecation(
|
|||
'The "%s" class is deprecated and will be removed in Sylius 2.0.',
|
||||
ResourceInputDataPropertiesValidatorInterface::class,
|
||||
);
|
||||
|
||||
/** @deprecated since Sylius 1.14 and will be removed in Sylius 2.0. */
|
||||
interface ResourceInputDataPropertiesValidatorInterface
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue