mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
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:
commit
210254d717
307 changed files with 3 additions and 513 deletions
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\ApiPlatform;
|
||||
|
||||
/** @experimental */
|
||||
final class ApiResourceConfigurationMerger implements ApiResourceConfigurationMergerInterface
|
||||
{
|
||||
public function mergeConfigs(...$configs): array
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
|
|||
|
||||
use Sylius\Component\Core\Model\PromotionInterface;
|
||||
|
||||
/** @experimental */
|
||||
interface ArchivingPromotionApplicatorInterface
|
||||
{
|
||||
public function archive(PromotionInterface $data): PromotionInterface;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
|
|||
|
||||
use Sylius\Component\Core\Model\ShippingMethodInterface;
|
||||
|
||||
/** @experimental */
|
||||
interface ArchivingShippingMethodApplicatorInterface
|
||||
{
|
||||
public function archive(ShippingMethodInterface $data): ShippingMethodInterface;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
|
|||
|
||||
use Sylius\Component\Core\Model\OrderInterface;
|
||||
|
||||
/** @experimental */
|
||||
interface OrderStateMachineTransitionApplicatorInterface
|
||||
{
|
||||
public function cancel(OrderInterface $data): OrderInterface;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
|
|||
|
||||
use Sylius\Component\Payment\Model\PaymentInterface;
|
||||
|
||||
/** @experimental */
|
||||
interface PaymentStateMachineTransitionApplicatorInterface
|
||||
{
|
||||
public function complete(PaymentInterface $data): PaymentInterface;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Applicator;
|
|||
|
||||
use Sylius\Component\Review\Model\ReviewInterface;
|
||||
|
||||
/** @experimental */
|
||||
interface ProductReviewStateMachineTransitionApplicatorInterface
|
||||
{
|
||||
public function accept(ReviewInterface $data): ReviewInterface;
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -24,8 +24,6 @@ use Symfony\Component\DependencyInjection\Reference;
|
|||
|
||||
/**
|
||||
* This extension disables javascript session when running api scenarios
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
final class SyliusApiBundleExtension implements Extension
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Changer;
|
|||
|
||||
use Sylius\Component\Core\Model\OrderInterface;
|
||||
|
||||
/** @experimental */
|
||||
interface PaymentMethodChangerInterface
|
||||
{
|
||||
public function changePaymentMethod(
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Account;
|
|||
|
||||
use Sylius\Bundle\ApiBundle\Command\ShopUserIdAwareInterface;
|
||||
|
||||
/** @experimental */
|
||||
class ChangeShopUserPassword implements ShopUserIdAwareInterface
|
||||
{
|
||||
/** @var mixed|null */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command\Account;
|
||||
|
||||
/** @experimental */
|
||||
class ResetPassword
|
||||
{
|
||||
public function __construct(
|
||||
|
|
|
|||
|
|
@ -13,11 +13,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command\Account;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*
|
||||
* @immutable
|
||||
*/
|
||||
/** @immutable */
|
||||
class SendAccountRegistrationEmail
|
||||
{
|
||||
/** @var string */
|
||||
|
|
|
|||
|
|
@ -13,11 +13,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command\Account;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*
|
||||
* @immutable
|
||||
*/
|
||||
/** @immutable */
|
||||
class SendAccountVerificationEmail
|
||||
{
|
||||
/** @var string */
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command\Account;
|
||||
|
||||
/** @experimental */
|
||||
class SendResetPasswordEmail
|
||||
{
|
||||
/** @var string */
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command\Cart;
|
||||
|
||||
/** @experimental */
|
||||
class InformAboutCartRecalculation
|
||||
{
|
||||
public function __construct(private string $promotionName)
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface ChannelCodeAwareInterface extends CommandAwareDataTransformerInterface
|
||||
{
|
||||
public function getChannelCode(): ?string;
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Checkout;
|
|||
|
||||
use Sylius\Bundle\ApiBundle\Command\OrderTokenValueAwareInterface;
|
||||
|
||||
/** @experimental */
|
||||
class CompleteOrder implements OrderTokenValueAwareInterface
|
||||
{
|
||||
/** @var string|null */
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command\Checkout;
|
||||
|
||||
/** @experimental */
|
||||
class SendOrderConfirmation
|
||||
{
|
||||
/** @var string */
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command\Checkout;
|
||||
|
||||
/** @experimental */
|
||||
class SendShipmentConfirmationEmail
|
||||
{
|
||||
/** @var mixed */
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Checkout;
|
|||
|
||||
use Sylius\Bundle\ApiBundle\Command\ShipmentIdAwareInterface;
|
||||
|
||||
/** @experimental */
|
||||
class ShipShipment implements ShipmentIdAwareInterface
|
||||
{
|
||||
/** @var int|null */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface CommandAwareDataTransformerInterface
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface CustomerEmailAwareInterface extends CommandAwareDataTransformerInterface
|
||||
{
|
||||
public function getEmail(): ?string;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface LocaleCodeAwareInterface extends CommandAwareDataTransformerInterface
|
||||
{
|
||||
public function getLocaleCode(): ?string;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface LoggedInCustomerEmailIfNotSetAwareInterface extends CommandAwareDataTransformerInterface
|
||||
{
|
||||
public function getEmail(): ?string;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface OrderTokenValueAwareInterface extends CommandAwareDataTransformerInterface
|
||||
{
|
||||
public function getOrderTokenValue(): ?string;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface PaymentMethodCodeAwareInterface extends CommandAwareDataTransformerInterface
|
||||
{
|
||||
public function getPaymentMethodCode(): ?string;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Command\Promotion;
|
|||
|
||||
use Sylius\Component\Promotion\Generator\ReadablePromotionCouponGeneratorInstructionInterface;
|
||||
|
||||
/** @experimental */
|
||||
class GeneratePromotionCoupon implements ReadablePromotionCouponGeneratorInstructionInterface
|
||||
{
|
||||
public function __construct(
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** experimental */
|
||||
class SendContactRequest implements ChannelCodeAwareInterface, LocaleCodeAwareInterface, LoggedInCustomerEmailIfNotSetAwareInterface
|
||||
{
|
||||
public ?string $localeCode = null;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface ShipmentIdAwareInterface extends CommandAwareDataTransformerInterface
|
||||
{
|
||||
public function getShipmentId(): ?int;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface ShopUserIdAwareInterface extends CommandAwareDataTransformerInterface
|
||||
{
|
||||
public function getShopUserId();
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Command;
|
||||
|
||||
/** @experimental */
|
||||
interface SubresourceIdAwareInterface extends CommandAwareDataTransformerInterface
|
||||
{
|
||||
public function getSubresourceId(): ?string;
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Context;
|
|||
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
|
||||
/** @experimental */
|
||||
interface UserContextInterface
|
||||
{
|
||||
public function getUser(): ?UserInterface;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ use Symfony\Component\HttpFoundation\Request;
|
|||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Messenger\MessageBusInterface;
|
||||
|
||||
/** @experimental */
|
||||
final class RemoveCustomerShopUserAction
|
||||
{
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace Sylius\Bundle\ApiBundle\Converter;
|
||||
|
||||
/** @experimental */
|
||||
interface IriToIdentifierConverterInterface
|
||||
{
|
||||
public function getIdentifier(?string $iri): ?string;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ namespace Sylius\Bundle\ApiBundle\Creator;
|
|||
|
||||
use Sylius\Component\Core\Model\ImageInterface;
|
||||
|
||||
/** @experimental */
|
||||
interface ImageCreatorInterface
|
||||
{
|
||||
/** @param array<mixed> $context */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Add table
Reference in a new issue