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

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['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['Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntity'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntity')),
    ],
    null,
    [
        'stdClass' => [
            'repositoryClass' => [
                'App\\Repository\\UserRepository',
            ],
            'collectionOperations' => [
                1 => [
                    'get' => [
                        'normalization_context' => [
                            'groups' => [
                                'users:list',
                                'media_object_read',
                            ],
                        ],
                    ],
                    'post' => [
                        'validation_groups' => [
                            'user:create:validation',
                        ],
                    ],
                    'atoUser' => [
                        'method' => 'get',
                        'path' => '/ato-users/{atoId}',
                        'normalization_context' => [
                            'groups' => [
                                'users:list',
                            ],
                        ],
                    ],
                    'me' => [
                        'path' => '/me',
                        'controller' => 'App\\Controller\\Api\\User\\MeController',
                        'method' => 'GET',
                        'pagination_enabled' => false,
                        'read' => false,
                        'normalization_context' => [
                            'groups' => [
                                'users:details',
                                'media_object_read',
                            ],
                        ],
                    ],
                ],
            ],
            'itemOperations' => [
                1 => [
                    'get' => [
                        'normalization_context' => [
                            'groups' => [
                                'users:details',
                                'media_object_read',
                                'atouser:subresource',
                            ],
                        ],
                    ],
                    'password_change' => [
                        'method' => 'PUT',
                        'path' => '/users/password-change',
                        'controller' => 'App\\Controller\\Api\\UserPasswordUpdateController',
                        'read' => false,
                        'write' => false,
                    ],
                    'get_by_mail' => [
                        'method' => 'GET',
                        'path' => '/users/email/{email}',
                        'controller' => 'App\\Controller\\Api\\FindUserByEmailController',
                        'defaults' => [
                            'identifiedBy' => 'email',
                        ],
                        'read' => false,
                        'normalization_context' => [
                            'groups' => [
                                'user:find:email',
                            ],
                        ],
                    ],
                    'update_user' => [
                        'method' => 'PUT',
                        'path' => '/users/{id}',
                        'defaults' => [
                            'identifiedBy' => 'id',
                        ],
                        'controller' => 'App\\Controller\\Api\\User\\UpdateUserController',
                        'normalization_context' => [
                            'groups' => [
                                'users:details',
                                'media_object_read',
                            ],
                        ],
                    ],
                    'delete',
                ],
            ],
            'attributes' => [
                1 => [
                    'denormalization_context' => [
                        'disable_type_enforcement' => true,
                        'groups' => [
                            'user:edit',
                        ],
                    ],
                ],
            ],
            'filterClass' => [
                2 => 'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\SearchFilter',
            ],
            'properties' => [
                2 => [
                    'atoUsers.ato' => 'exact',
                ],
            ],
            'message' => [
                3 => 'Un utilisateur est déjà inscrit avec cet email dans notre base.',
            ],
            'fields' => [
                3 => [
                    'email',
                ],
            ],
            'groups' => [
                3 => [
                    'Default',
                ],
            ],
        ],
    ],
    [
        $o[0],
        $o[1],
        $o[2],
        $o[3],
    ],
    []
); }];
