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

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['Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntity'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntity')),
        clone ($p['App\\Validator\\Constraints\\ProviderConstraint'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('App\\Validator\\Constraints\\ProviderConstraint')),
        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')),
    ],
    null,
    [
        'stdClass' => [
            'repositoryClass' => [
                'App\\Repository\\ProviderRepository',
            ],
            'entityClass' => [
                1 => 'App\\Entity\\User',
            ],
            'fields' => [
                1 => 'email',
            ],
            'groups' => [
                1 => [
                    'Default',
                ],
                [
                    'Default',
                ],
            ],
            'collectionOperations' => [
                3 => [
                    'get' => [
                        'method' => 'GET',
                        'controller' => 'App\\Api\\Controller\\GetProvider',
                    ],
                    'post' => [
                        'method' => 'POST',
                        'controller' => 'App\\Api\\Controller\\CreateProvider',
                        'validation_groups' => [
                            'Default',
                        ],
                        'security' => 'is_granted(\'ROLE_ADMIN\')',
                    ],
                    'get_info' => [
                        'method' => 'GET',
                        'path' => '/providers/get/information',
                        'controller' => 'App\\Api\\Controller\\InformationProvider',
                        'normalization_context' => [
                            'groups' => [
                                'provider_info_read',
                                'timestampable',
                            ],
                        ],
                    ],
                ],
            ],
            'itemOperations' => [
                3 => [
                    'delete' => [
                        'security' => 'is_granted(\'ROLE_ADMIN\')',
                    ],
                    'get',
                    'put' => [
                        'method' => 'PUT',
                        'controller' => 'App\\Api\\Controller\\UpdateProvider',
                        'validation_groups' => [
                            'Default',
                        ],
                        'security' => 'is_granted(\'ROLE_ADMIN\') or object.getId() == user.getId()',
                    ],
                    'get_last_order_client' => [
                        'method' => 'GET',
                        'path' => '/providers/order/last/client/{id}',
                        'controller' => 'App\\Api\\Controller\\GetLastClientOrder',
                    ],
                ],
            ],
            'attributes' => [
                3 => [
                    'normalization_context' => [
                        'groups' => [
                            'provider_read',
                            'timestampable',
                            'dashboard_read_messages',
                            'dashboard_read_orders',
                            'employee_read',
                        ],
                    ],
                    'denormalization_context' => [
                        'groups' => [
                            'provider_write',
                        ],
                    ],
                ],
            ],
            'filterClass' => [
                4 => 'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\SearchFilter',
            ],
            'properties' => [
                4 => [
                    'email' => 'exact',
                ],
            ],
        ],
    ],
    [
        $o[0],
        $o[1],
        $o[2],
        $o[3],
        $o[4],
    ],
    []
); }];
