<?php //Sylius.Bundle.OrderBundle.Controller.AddToCartCommand

return [PHP_INT_MAX, static fn () => \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
    $o = [
        (\Symfony\Component\VarExporter\Internal\Registry::$factories['Symfony\\Component\\Validator\\Mapping\\ClassMetadata'] ?? \Symfony\Component\VarExporter\Internal\Registry::f('Symfony\\Component\\Validator\\Mapping\\ClassMetadata'))(),
        clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Sylius\\Bundle\\CoreBundle\\Validator\\Constraints\\CartItemVariantEnabled'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Sylius\\Bundle\\CoreBundle\\Validator\\Constraints\\CartItemVariantEnabled')),
        clone ($p['Sylius\\Bundle\\CoreBundle\\Validator\\Constraints\\CartItemAvailability'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Sylius\\Bundle\\CoreBundle\\Validator\\Constraints\\CartItemAvailability')),
    ],
    null,
    [
        'stdClass' => [
            'constraints' => [
                [
                    $o[1],
                    $o[2],
                ],
            ],
            'constraintsByGroup' => [
                [
                    'sylius' => [
                        $o[1],
                        $o[2],
                    ],
                ],
            ],
            'name' => [
                'Sylius\\Bundle\\OrderBundle\\Controller\\AddToCartCommand',
            ],
            'defaultGroup' => [
                'AddToCartCommand',
            ],
            'payload' => [
                1 => null,
                null,
            ],
            'groups' => [
                1 => [
                    'sylius',
                ],
                [
                    'sylius',
                ],
            ],
            'message' => [
                2 => 'sylius.cart_item.not_available',
            ],
        ],
    ],
    $o[0],
    []
)];
