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

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['ApiPlatform\\Core\\Annotation\\ApiResource'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ApiPlatform\\Core\\Annotation\\ApiResource')),
        clone ($p['App\\Validator\\Constraints\\UsersContraint'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('App\\Validator\\Constraints\\UsersContraint')),
    ],
    null,
    [
        'stdClass' => [
            'repositoryClass' => [
                'App\\Repository\\EmployeeRepository',
            ],
            'entityClass' => [
                1 => 'App\\Entity\\User',
            ],
            'fields' => [
                1 => 'email',
            ],
            'groups' => [
                1 => [
                    'Default',
                ],
                3 => [
                    'Default',
                ],
            ],
            'collectionOperations' => [
                2 => [
                    'get',
                    'post' => [
                        'method' => 'POST',
                        'controller' => 'App\\Api\\Controller\\CreateEmployee',
                        'security' => 'is_granted(\'ROLE_PROVIDER\') or is_granted(\'ROLE_SUB_PROVIDER\')',
                    ],
                    'get_info' => [
                        'method' => 'GET',
                        'path' => '/employees/get/information',
                        'controller' => 'App\\Api\\Controller\\InformationEmployee',
                        'normalization_context' => [
                            'groups' => [
                                'employee_read',
                            ],
                        ],
                    ],
                ],
            ],
            'itemOperations' => [
                2 => [
                    'delete' => [
                        'security' => 'is_granted(\'ROLE_ADMIN\') or object.getProvider().getId() == user.getId()',
                    ],
                    'get',
                    'put' => [
                        'controller' => 'App\\Api\\Controller\\UpdateEmployee',
                        'security' => 'is_granted(\'ROLE_PROVIDER\') or object.getId() == user.getId()',
                    ],
                ],
            ],
            'attributes' => [
                2 => [
                    'normalization_context' => [
                        'groups' => [
                            'employee_read',
                            'timestampable',
                            'dashboard_read_messages',
                            'dashboard_read_orders',
                        ],
                    ],
                    'denormalization_context' => [
                        'groups' => [
                            'employee_write',
                        ],
                    ],
                ],
            ],
        ],
    ],
    [
        $o[0],
        $o[1],
        $o[2],
        $o[3],
    ],
    []
); }];
