<?php //App%255CEntity%255CProduct

return [PHP_INT_MAX, static function () { return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
    $o = [
        clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Doctrine\\ORM\\Mapping\\Entity'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Doctrine\\ORM\\Mapping\\Entity')),
        clone ($p['Vich\\UploaderBundle\\Mapping\\Annotation\\Uploadable'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Vich\\UploaderBundle\\Mapping\\Annotation\\Uploadable')),
        clone ($p['ApiPlatform\\Core\\Annotation\\ApiResource'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ApiPlatform\\Core\\Annotation\\ApiResource')),
        clone ($p['ApiPlatform\\Core\\Annotation\\ApiFilter'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ApiPlatform\\Core\\Annotation\\ApiFilter')),
        clone $p['ApiPlatform\\Core\\Annotation\\ApiFilter'],
        clone $p['ApiPlatform\\Core\\Annotation\\ApiFilter'],
        clone ($p['Gedmo\\Mapping\\Annotation\\SoftDeleteable'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Gedmo\\Mapping\\Annotation\\SoftDeleteable')),
        clone ($p['App\\Validator\\Constraints\\ProductsContraint'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('App\\Validator\\Constraints\\ProductsContraint')),
    ],
    null,
    [
        'stdClass' => [
            'repositoryClass' => [
                'App\\Repository\\ProductRepository',
            ],
            'collectionOperations' => [
                2 => [
                    'get',
                    'post' => [
                        'method' => 'POST',
                        'controller' => 'App\\Api\\Controller\\CreateProduct',
                        'security' => 'is_granted(\'ROLE_OPERATION\')',
                    ],
                ],
            ],
            'itemOperations' => [
                2 => [
                    'get',
                    'delete' => [
                        'security' => 'is_granted(\'ROLE_OPERATION\')',
                    ],
                    'put' => [
                        'method' => 'PUT',
                        'controller' => 'App\\Api\\Controller\\UpdateProduct',
                        'security' => 'is_granted(\'ROLE_OPERATION\')',
                    ],
                ],
            ],
            'attributes' => [
                2 => [
                    'order' => [
                        'id' => 'desc',
                    ],
                    'normalization_context' => [
                        'groups' => [
                            'product_read',
                            'timestampable',
                            'dashboard_read_orders',
                        ],
                    ],
                    'denormalization_context' => [
                        'groups' => [
                            'product_write',
                        ],
                    ],
                ],
            ],
            'filterClass' => [
                3 => 'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\SearchFilter',
                'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\BooleanFilter',
                'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\RangeFilter',
            ],
            'properties' => [
                3 => [
                    'productFamily' => 'exact',
                    'unit' => 'exact',
                    'productAllergens' => 'exact',
                    'tags' => 'exact',
                    'provider' => 'exact',
                    'productBrand' => 'exact',
                    'origin' => 'exact',
                    'productCategory' => 'exact',
                    'productSubCategory' => 'exact',
                    'quantity' => 'exact',
                    'translations.name' => 'partial',
                    'translations.locale' => 'exact',
                ],
                [
                    'inOffer',
                ],
                [
                    'price',
                ],
            ],
            'groups' => [
                7 => [
                    'Default',
                ],
            ],
        ],
    ],
    [
        $o[0],
        $o[1],
        $o[2],
        $o[3],
        $o[4],
        $o[5],
        $o[6],
        $o[7],
    ],
    []
); }];
