minor #15969 [API] Remove experimental tag from ApiBundle (GSadee)

This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13|
| Bug fix?        | no                                                      |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  [API] Remove experimental tag
  [API] Remove experimental note from Swagger + remove unneeded template
This commit is contained in:
Rafał Jaskulski 2024-03-08 11:59:47 +01:00 committed by GitHub
commit 210254d717
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
307 changed files with 3 additions and 513 deletions

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\ApiPlatform;
/** @experimental */
final class ApiResourceConfigurationMerger implements ApiResourceConfigurationMergerInterface
{
public function mergeConfigs(...$configs): array

View file

@ -19,8 +19,6 @@ use Psr\Cache\CacheItemPoolInterface;
use Sylius\Bundle\ApiBundle\Provider\PathPrefixProviderInterface;
/**
* @experimental
*
* This class is based on src/Bridge/Symfony/Routing/CachedRouteNameResolver.php, but has added logic for matching /shop, /admin prefixes
*/
final class CachedRouteNameResolver implements RouteNameResolverInterface

View file

@ -20,8 +20,6 @@ use Sylius\Bundle\ApiBundle\Provider\PathPrefixProviderInterface;
use Symfony\Component\Routing\RouterInterface;
/**
* @experimental
*
* This class is based on src/Bridge/Symfony/Routing/RouteNameResolver.php, but has added logic for matching /shop, /admin prefixes
*/
final class RouteNameResolver implements RouteNameResolverInterface

View file

@ -20,7 +20,6 @@ use ApiPlatform\Core\Metadata\Resource\ResourceMetadata;
use Sylius\Bundle\ApiBundle\ApiPlatform\ResourceMetadataPropertyValueResolver;
/**
* @experimental
* This class is overwriting ApiPlatform ExtractorResourceMetadataFactory to allow yaml files to be merged into api platform config
*/
final class MergingExtractorResourceMetadataFactory implements ResourceMetadataFactoryInterface

View file

@ -24,8 +24,6 @@ use Sylius\Bundle\ApiBundle\ApiPlatform\Metadata\Merger\MetadataMergerInterface;
use Symfony\Component\Config\Util\XmlUtils;
/**
* @experimental
*
* @see XmlExtractor
*/
final class MergingXmlExtractor extends AbstractResourceExtractor implements PropertyExtractorInterface

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\ApiPlatform;
use ApiPlatform\Core\Metadata\Resource\ResourceMetadata;
/** @experimental */
final class ResourceMetadataPropertyValueResolver implements ResourceMetadataPropertyValueResolverInteface
{
public function __construct(private ApiResourceConfigurationMergerInterface $apiResourceConfigurationMerger)

View file

@ -16,7 +16,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
use Sylius\Calendar\Provider\DateTimeProviderInterface;
use Sylius\Component\Core\Model\PromotionInterface;
/** @experimental */
final class ArchivingPromotionApplicator implements ArchivingPromotionApplicatorInterface
{
public function __construct(private DateTimeProviderInterface $calendar)

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
use Sylius\Component\Core\Model\PromotionInterface;
/** @experimental */
interface ArchivingPromotionApplicatorInterface
{
public function archive(PromotionInterface $data): PromotionInterface;

View file

@ -16,7 +16,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
use Sylius\Calendar\Provider\DateTimeProviderInterface;
use Sylius\Component\Core\Model\ShippingMethodInterface;
/** @experimental */
final class ArchivingShippingMethodApplicator implements ArchivingShippingMethodApplicatorInterface
{
public function __construct(private DateTimeProviderInterface $calendar)

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
use Sylius\Component\Core\Model\ShippingMethodInterface;
/** @experimental */
interface ArchivingShippingMethodApplicatorInterface
{
public function archive(ShippingMethodInterface $data): ShippingMethodInterface;

View file

@ -20,7 +20,6 @@ use Sylius\Bundle\ApiBundle\Exception\StateMachineTransitionFailedException;
use Sylius\Component\Core\Model\OrderInterface;
use Sylius\Component\Order\OrderTransitions;
/** @experimental */
final class OrderStateMachineTransitionApplicator implements OrderStateMachineTransitionApplicatorInterface
{
public function __construct(private StateMachineFactoryInterface|StateMachineInterface $stateMachineFactory)

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
use Sylius\Component\Core\Model\OrderInterface;
/** @experimental */
interface OrderStateMachineTransitionApplicatorInterface
{
public function cancel(OrderInterface $data): OrderInterface;

View file

@ -20,7 +20,6 @@ use Sylius\Bundle\ApiBundle\Exception\StateMachineTransitionFailedException;
use Sylius\Component\Payment\Model\PaymentInterface;
use Sylius\Component\Payment\PaymentTransitions;
/** @experimental */
final class PaymentStateMachineTransitionApplicator implements PaymentStateMachineTransitionApplicatorInterface
{
public function __construct(private StateMachineFactoryInterface|StateMachineInterface $stateMachineFactory)

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
use Sylius\Component\Payment\Model\PaymentInterface;
/** @experimental */
interface PaymentStateMachineTransitionApplicatorInterface
{
public function complete(PaymentInterface $data): PaymentInterface;

View file

@ -20,7 +20,6 @@ use Sylius\Bundle\ApiBundle\Exception\StateMachineTransitionFailedException;
use Sylius\Component\Core\ProductReviewTransitions;
use Sylius\Component\Review\Model\ReviewInterface;
/** @experimental */
final class ProductReviewStateMachineTransitionApplicator implements ProductReviewStateMachineTransitionApplicatorInterface
{
public function __construct(private StateMachineFactoryInterface|StateMachineInterface $stateMachineFactory)

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
use Sylius\Component\Review\Model\ReviewInterface;
/** @experimental */
interface ProductReviewStateMachineTransitionApplicatorInterface
{
public function accept(ReviewInterface $data): ReviewInterface;

View file

@ -19,7 +19,6 @@ use Sylius\Component\Promotion\Model\PromotionCouponInterface;
use Sylius\Component\Promotion\Repository\PromotionCouponRepositoryInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class OrderPromotionCodeAssigner implements OrderPromotionCodeAssignerInterface
{
public function __construct(

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Assigner;
use Sylius\Component\Core\Model\OrderInterface;
/** @experimental */
interface OrderPromotionCodeAssignerInterface
{
public function assign(OrderInterface $cart, ?string $couponCode = null): OrderInterface;

View file

@ -24,8 +24,6 @@ use Symfony\Component\DependencyInjection\Reference;
/**
* This extension disables javascript session when running api scenarios
*
* @experimental
*/
final class SyliusApiBundleExtension implements Extension
{

View file

@ -23,7 +23,6 @@ use Behat\Testwork\Tester\Result\TestResult;
use Behat\Testwork\Tester\Setup\Setup;
use Behat\Testwork\Tester\Setup\Teardown;
/** @experimental */
final class ApiScenarioEventDispatchingScenarioTester implements ScenarioTester
{
public function __construct(private ScenarioTester $baseTester)

View file

@ -21,7 +21,6 @@ use Sylius\Component\Core\Repository\PaymentRepositoryInterface;
use Sylius\Component\Payment\Model\PaymentInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class PaymentMethodChanger implements PaymentMethodChangerInterface
{
public function __construct(

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Changer;
use Sylius\Component\Core\Model\OrderInterface;
/** @experimental */
interface PaymentMethodChangerInterface
{
public function changePaymentMethod(

View file

@ -17,7 +17,6 @@ use Sylius\Bundle\ApiBundle\Command\IriToIdentifierConversionAwareInterface;
use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
use Sylius\Bundle\ApiBundle\Command\SubresourceIdAwareInterface;
/** @experimental */
class ChangePaymentMethod implements OrderTokenValueAwareInterface, SubresourceIdAwareInterface, IriToIdentifierConversionAwareInterface
{
/** @var string|null */

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Account;
use Sylius\Bundle\ApiBundle\Command\ShopUserIdAwareInterface;
/** @experimental */
class ChangeShopUserPassword implements ShopUserIdAwareInterface
{
/** @var mixed|null */

View file

@ -16,7 +16,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Account;
use Sylius\Bundle\ApiBundle\Command\ChannelCodeAwareInterface;
use Sylius\Bundle\ApiBundle\Command\LocaleCodeAwareInterface;
/** @experimental */
class RegisterShopUser implements ChannelCodeAwareInterface, LocaleCodeAwareInterface
{
public ?string $channelCode = null;

View file

@ -17,7 +17,6 @@ use Sylius\Bundle\ApiBundle\Command\ChannelCodeAwareInterface;
use Sylius\Bundle\ApiBundle\Command\IriToIdentifierConversionAwareInterface;
use Sylius\Bundle\ApiBundle\Command\LocaleCodeAwareInterface;
/** @experimental */
class RequestResetPasswordToken implements
ChannelCodeAwareInterface,
LocaleCodeAwareInterface,

View file

@ -18,7 +18,6 @@ use Sylius\Bundle\ApiBundle\Command\IriToIdentifierConversionAwareInterface;
use Sylius\Bundle\ApiBundle\Command\LocaleCodeAwareInterface;
use Sylius\Bundle\ApiBundle\Command\ShopUserIdAwareInterface;
/** @experimental */
class ResendVerificationEmail implements
ShopUserIdAwareInterface,
ChannelCodeAwareInterface,

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command\Account;
/** @experimental */
class ResetPassword
{
public function __construct(

View file

@ -13,11 +13,7 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command\Account;
/**
* @experimental
*
* @immutable
*/
/** @immutable */
class SendAccountRegistrationEmail
{
/** @var string */

View file

@ -13,11 +13,7 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command\Account;
/**
* @experimental
*
* @immutable
*/
/** @immutable */
class SendAccountVerificationEmail
{
/** @var string */

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command\Account;
/** @experimental */
class SendResetPasswordEmail
{
/** @var string */

View file

@ -16,11 +16,7 @@ namespace Sylius\Bundle\ApiBundle\Command\Account;
use Sylius\Bundle\ApiBundle\Command\ChannelCodeAwareInterface;
use Sylius\Bundle\ApiBundle\Command\LocaleCodeAwareInterface;
/**
* @experimental
*
* @immutable
*/
/** @immutable */
class VerifyCustomerAccount implements ChannelCodeAwareInterface, LocaleCodeAwareInterface
{
public function __construct(

View file

@ -16,7 +16,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Cart;
use Sylius\Bundle\ApiBundle\Command\IriToIdentifierConversionAwareInterface;
use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
/** @experimental */
class AddItemToCart implements OrderTokenValueAwareInterface, IriToIdentifierConversionAwareInterface
{
/** @var string|null */

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command\Cart;
/** @experimental */
class BlameCart
{
public function __construct(public string $shopUserEmail, public string $orderTokenValue)

View file

@ -16,7 +16,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Cart;
use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
use Sylius\Bundle\ApiBundle\Command\SubresourceIdAwareInterface;
/** @experimental */
class ChangeItemQuantityInCart implements OrderTokenValueAwareInterface, SubresourceIdAwareInterface
{
/** @var string|null */

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command\Cart;
/** @experimental */
class InformAboutCartRecalculation
{
public function __construct(private string $promotionName)

View file

@ -17,7 +17,6 @@ use Sylius\Bundle\ApiBundle\Command\ChannelCodeAwareInterface;
use Sylius\Bundle\ApiBundle\Command\CustomerEmailAwareInterface;
use Sylius\Bundle\ApiBundle\Command\LocaleCodeAwareInterface;
/** @experimental */
class PickupCart implements ChannelCodeAwareInterface, CustomerEmailAwareInterface, LocaleCodeAwareInterface
{
/** @var string|null */

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Cart;
use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
/** @experimental */
class RemoveItemFromCart implements OrderTokenValueAwareInterface
{
public function __construct(public ?string $orderTokenValue, public string $itemId)

View file

@ -16,7 +16,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Catalog;
use Sylius\Bundle\ApiBundle\Command\CustomerEmailAwareInterface;
use Sylius\Bundle\ApiBundle\Command\IriToIdentifierConversionAwareInterface;
/** @experimental */
class AddProductReview implements IriToIdentifierConversionAwareInterface, CustomerEmailAwareInterface
{
public function __construct(

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface ChannelCodeAwareInterface extends CommandAwareDataTransformerInterface
{
public function getChannelCode(): ?string;

View file

@ -18,7 +18,6 @@ use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
use Sylius\Bundle\ApiBundle\Command\PaymentMethodCodeAwareInterface;
use Sylius\Bundle\ApiBundle\Command\SubresourceIdAwareInterface;
/** @experimental */
class ChoosePaymentMethod implements OrderTokenValueAwareInterface, SubresourceIdAwareInterface, PaymentMethodCodeAwareInterface, IriToIdentifierConversionAwareInterface
{
/** @var string|null */

View file

@ -17,7 +17,6 @@ use Sylius\Bundle\ApiBundle\Command\IriToIdentifierConversionAwareInterface;
use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
use Sylius\Bundle\ApiBundle\Command\SubresourceIdAwareInterface;
/** @experimental */
class ChooseShippingMethod implements OrderTokenValueAwareInterface, SubresourceIdAwareInterface, IriToIdentifierConversionAwareInterface
{
/** @var string|null */

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Checkout;
use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
/** @experimental */
class CompleteOrder implements OrderTokenValueAwareInterface
{
/** @var string|null */

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command\Checkout;
/** @experimental */
class SendOrderConfirmation
{
/** @var string */

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command\Checkout;
/** @experimental */
class SendShipmentConfirmationEmail
{
/** @var mixed */

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Checkout;
use Sylius\Bundle\ApiBundle\Command\ShipmentIdAwareInterface;
/** @experimental */
class ShipShipment implements ShipmentIdAwareInterface
{
/** @var int|null */

View file

@ -18,7 +18,6 @@ use Sylius\Bundle\ApiBundle\Command\LocaleCodeAwareInterface;
use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
use Sylius\Component\Addressing\Model\AddressInterface;
/** @experimental */
class UpdateCart implements OrderTokenValueAwareInterface, CustomerEmailAwareInterface, LocaleCodeAwareInterface
{
public ?string $orderTokenValue = null;

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface CommandAwareDataTransformerInterface
{
}

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Customer;
use Sylius\Bundle\ApiBundle\Command\ShopUserIdAwareInterface;
/** @experimental */
class RemoveShopUser implements ShopUserIdAwareInterface
{
public function __construct(private mixed $shopUserId)

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface CustomerEmailAwareInterface extends CommandAwareDataTransformerInterface
{
public function getEmail(): ?string;

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface LocaleCodeAwareInterface extends CommandAwareDataTransformerInterface
{
public function getLocaleCode(): ?string;

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface LoggedInCustomerEmailIfNotSetAwareInterface extends CommandAwareDataTransformerInterface
{
public function getEmail(): ?string;

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface OrderTokenValueAwareInterface extends CommandAwareDataTransformerInterface
{
public function getOrderTokenValue(): ?string;

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface PaymentMethodCodeAwareInterface extends CommandAwareDataTransformerInterface
{
public function getPaymentMethodCode(): ?string;

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Promotion;
use Sylius\Component\Promotion\Generator\ReadablePromotionCouponGeneratorInstructionInterface;
/** @experimental */
class GeneratePromotionCoupon implements ReadablePromotionCouponGeneratorInstructionInterface
{
public function __construct(

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** experimental */
class SendContactRequest implements ChannelCodeAwareInterface, LocaleCodeAwareInterface, LoggedInCustomerEmailIfNotSetAwareInterface
{
public ?string $localeCode = null;

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface ShipmentIdAwareInterface extends CommandAwareDataTransformerInterface
{
public function getShipmentId(): ?int;

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface ShopUserIdAwareInterface extends CommandAwareDataTransformerInterface
{
public function getShopUserId();

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Command;
/** @experimental */
interface SubresourceIdAwareInterface extends CommandAwareDataTransformerInterface
{
public function getSubresourceId(): ?string;

View file

@ -20,7 +20,6 @@ use Sylius\Component\Core\Repository\OrderRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class ChangePaymentMethodHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -20,7 +20,6 @@ use Sylius\Component\User\Security\PasswordUpdaterInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class ChangeShopUserPasswordHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -27,7 +27,6 @@ use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Symfony\Component\Messenger\MessageBusInterface;
use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp;
/** @experimental */
final class RegisterShopUserHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -22,7 +22,6 @@ use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Symfony\Component\Messenger\MessageBusInterface;
use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp;
/** @experimental */
final class RequestResetPasswordTokenHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -24,7 +24,6 @@ use Symfony\Component\Messenger\MessageBusInterface;
use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp;
use Webmozart\Assert\Assert;
/** @experimental */
final class ResendVerificationEmailHandler implements MessageHandlerInterface
{
/**

View file

@ -17,7 +17,6 @@ use Sylius\Bundle\ApiBundle\Command\Account\ResetPassword;
use Sylius\Bundle\CoreBundle\Security\UserPasswordResetterInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
/** @experimental */
final class ResetPasswordHandler implements MessageHandlerInterface
{
public function __construct(private UserPasswordResetterInterface $userPasswordResetter)

View file

@ -21,7 +21,6 @@ use Sylius\Component\Core\Model\ShopUserInterface;
use Sylius\Component\User\Repository\UserRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
/** @experimental */
final class SendAccountRegistrationEmailHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -23,7 +23,6 @@ use Sylius\Component\Core\Model\ShopUserInterface;
use Sylius\Component\User\Repository\UserRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
/** @experimental */
final class SendAccountVerificationEmailHandler implements MessageHandlerInterface
{
/**

View file

@ -21,7 +21,6 @@ use Sylius\Component\User\Model\UserInterface;
use Sylius\Component\User\Repository\UserRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
/** @experimental */
final class SendResetPasswordEmailHandler implements MessageHandlerInterface
{
/**

View file

@ -23,7 +23,6 @@ use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Symfony\Component\Messenger\MessageBusInterface;
use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp;
/** @experimental */
final class VerifyCustomerAccountHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -25,7 +25,6 @@ use Sylius\Component\Order\Modifier\OrderModifierInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class AddItemToCartHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -22,7 +22,6 @@ use Sylius\Component\Order\Repository\OrderItemRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class ChangeItemQuantityInCartHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -17,7 +17,6 @@ use Sylius\Bundle\ApiBundle\Command\Cart\InformAboutCartRecalculation;
use Sylius\Bundle\ApiBundle\Exception\OrderNoLongerEligibleForPromotion;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
/** @experimental */
final class InformAboutCartRecalculationHandler implements MessageHandlerInterface
{
public function __invoke(InformAboutCartRecalculation $command): void

View file

@ -27,7 +27,6 @@ use Sylius\Component\Resource\Generator\RandomnessGeneratorInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class PickupCartHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -21,7 +21,6 @@ use Sylius\Component\Order\Repository\OrderItemRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class RemoveItemFromCartHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -25,7 +25,6 @@ use Sylius\Component\Review\Model\ReviewInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
/** @experimental */
final class AddProductReviewHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -28,7 +28,6 @@ use Sylius\Component\Core\Repository\PaymentRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class ChoosePaymentMethodHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -27,7 +27,6 @@ use Sylius\Component\Shipping\Checker\Eligibility\ShippingMethodEligibilityCheck
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class ChooseShippingMethodHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -30,7 +30,6 @@ use Symfony\Component\Messenger\MessageBusInterface;
use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp;
use Webmozart\Assert\Assert;
/** @experimental */
final class CompleteOrderHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -20,7 +20,6 @@ use Sylius\Component\Core\Repository\OrderRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class SendOrderConfirmationHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -20,7 +20,6 @@ use Sylius\Component\Core\Repository\ShipmentRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class SendShipmentConfirmationEmailHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -26,7 +26,6 @@ use Symfony\Component\Messenger\MessageBusInterface;
use Symfony\Component\Messenger\Stamp\DispatchAfterCurrentBusStamp;
use Webmozart\Assert\Assert;
/** @experimental */
final class ShipShipmentHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -23,7 +23,6 @@ use Sylius\Component\Core\Repository\OrderRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class UpdateCartHandler implements MessageHandlerInterface
{
public function __construct(

View file

@ -18,7 +18,6 @@ use Sylius\Bundle\ApiBundle\Exception\UserNotFoundException;
use Sylius\Component\Core\Model\ShopUserInterface;
use Sylius\Component\User\Repository\UserRepositoryInterface;
/** @experimental */
final class RemoveShopUserHandler
{
/**

View file

@ -23,7 +23,6 @@ use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInterface;
use Sylius\Component\Promotion\Model\PromotionCouponInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
/** @experimental */
final class GeneratePromotionCouponHandler implements MessageHandlerInterface
{
/**

View file

@ -21,7 +21,6 @@ use Sylius\Component\Core\Model\ChannelInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Webmozart\Assert\Assert;
/** experimental */
final class SendContactRequestHandler implements MessageHandlerInterface
{
/**

View file

@ -16,7 +16,6 @@ namespace Sylius\Bundle\ApiBundle\Context;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\Security\Core\User\UserInterface;
/** @experimental */
final class TokenBasedUserContext implements UserContextInterface
{
public function __construct(private TokenStorageInterface $tokenStorage)

View file

@ -20,7 +20,6 @@ use Sylius\Component\Order\Model\OrderInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;
/** @experimental */
final class TokenValueBasedCartContext implements CartContextInterface
{
public function __construct(

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Context;
use Symfony\Component\Security\Core\User\UserInterface;
/** @experimental */
interface UserContextInterface
{
public function getUser(): ?UserInterface;

View file

@ -19,7 +19,6 @@ use Sylius\Component\Addressing\Model\AddressLogEntry;
use Symfony\Component\Messenger\HandleTrait;
use Symfony\Component\Messenger\MessageBusInterface;
/** @experimental */
final class GetAddressLogEntryCollectionAction
{
use HandleTrait;

View file

@ -20,7 +20,6 @@ use Sylius\Component\Core\Repository\PaymentRepositoryInterface;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
/** @experimental */
final class GetPaymentConfiguration
{
public function __construct(

View file

@ -20,7 +20,6 @@ use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
/** @experimental */
final class RemoveCatalogPromotionAction
{
public function __construct(

View file

@ -22,7 +22,6 @@ use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Messenger\MessageBusInterface;
/** @experimental */
final class RemoveCustomerShopUserAction
{
/**

View file

@ -24,7 +24,6 @@ use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\HttpFoundation\Request;
use Webmozart\Assert\Assert;
/** @experimental */
final class UploadAvatarImageAction
{
public function __construct(

View file

@ -17,7 +17,6 @@ use Sylius\Bundle\ApiBundle\Creator\ImageCreatorInterface;
use Sylius\Component\Core\Model\ImageInterface;
use Symfony\Component\HttpFoundation\Request;
/** @experimental */
final class UploadProductImageAction
{
public function __construct(private ImageCreatorInterface $productImageCreator)

View file

@ -17,7 +17,6 @@ use Sylius\Bundle\ApiBundle\Creator\ImageCreatorInterface;
use Sylius\Component\Core\Model\ImageInterface;
use Symfony\Component\HttpFoundation\Request;
/** @experimental */
final class UploadTaxonImageAction
{
public function __construct(private ImageCreatorInterface $taxonImageCreator)

View file

@ -24,8 +24,6 @@ use Symfony\Component\Routing\RouterInterface;
/**
* Logic of this class is based on ApiPlatform\Core\Bridge\Symfony\Routing\IriConverter, This class provide `id` from path but it doesn't fetch object from database
*
* @experimental
*/
final class IriToIdentifierConverter implements IriToIdentifierConverterInterface
{

View file

@ -13,7 +13,6 @@ declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Converter;
/** @experimental */
interface IriToIdentifierConverterInterface
{
public function getIdentifier(?string $iri): ?string;

View file

@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Creator;
use Sylius\Component\Core\Model\ImageInterface;
/** @experimental */
interface ImageCreatorInterface
{
/** @param array<mixed> $context */

View file

@ -25,7 +25,6 @@ use Sylius\Component\Core\Uploader\ImageUploaderInterface;
use Sylius\Component\Resource\Factory\FactoryInterface;
use Webmozart\Assert\Assert;
/** @experimental */
final class ProductImageCreator implements ImageCreatorInterface
{
/**

View file

@ -22,7 +22,6 @@ use Sylius\Component\Core\Uploader\ImageUploaderInterface;
use Sylius\Component\Resource\Factory\FactoryInterface;
use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface;
/** @experimental */
final class TaxonImageCreator implements ImageCreatorInterface
{
/**

Some files were not shown because too many files have changed in this diff Show more