<?php //%255BApp%255CEvent%255CEntity%255CEvent%255D%255B1%255D

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['Doctrine\\ORM\\Mapping\\Table'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Doctrine\\ORM\\Mapping\\Table')),
        clone ($p['Doctrine\\ORM\\Mapping\\Index'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Doctrine\\ORM\\Mapping\\Index')),
        clone ($p['Doctrine\\ORM\\Mapping\\HasLifecycleCallbacks'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Doctrine\\ORM\\Mapping\\HasLifecycleCallbacks')),
        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['ApiPlatform\\Core\\Annotation\\ApiFilter'],
        clone $p['ApiPlatform\\Core\\Annotation\\ApiFilter'],
        clone $p['ApiPlatform\\Core\\Annotation\\ApiFilter'],
        clone $p['ApiPlatform\\Core\\Annotation\\ApiFilter'],
    ],
    null,
    [
        'stdClass' => [
            'indexes' => [
                1 => [
                    $o[2],
                ],
            ],
            'name' => [
                2 => 'FULL_TEXT_NAME',
            ],
            'columns' => [
                2 => [
                    'name',
                ],
            ],
            'flags' => [
                2 => [
                    'fulltext',
                ],
            ],
            'collectionOperations' => [
                4 => [
                    'get' => [
                        'security_post_denormalize' => 'is_granted(\'event_list\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Events',
                            ],
                        ],
                    ],
                    'post' => [
                        'security_post_denormalize' => 'is_granted(\'event_create\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Events',
                            ],
                        ],
                    ],
                    'created' => [
                        'method' => 'GET',
                        'path' => '/events/created',
                        'normalization_context' => [
                            'groups' => [
                                'readEvent',
                            ],
                        ],
                        'swagger_context' => [
                            'tags' => [
                                'Events',
                            ],
                            'parameters' => [
                                [
                                    'name' => 'userId',
                                    'in' => 'query',
                                    'type' => 'number',
                                    'format' => 'integer',
                                    'description' => 'The id of the user for which we want the events',
                                ],
                            ],
                        ],
                        'security_post_denormalize' => 'is_granted(\'event_read\',object)',
                    ],
                    'valide_create_event' => [
                        'method' => 'POST',
                        'path' => '/events/{id}/valide_create_event',
                        'requirements' => [
                            'id' => '\\d+',
                        ],
                        'controller' => 'App\\Event\\Controller\\ValidateCreateEventController',
                        'security' => 'is_granted(\'event_create\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Events',
                            ],
                        ],
                    ],
                    'ads' => [
                        'method' => 'GET',
                        'path' => '/events/{id}/ads',
                        'normalization_context' => [
                            'groups' => [
                                'readEvent',
                            ],
                        ],
                        'security_post_denormalize' => 'is_granted(\'event_list_ads\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Events',
                                'Carpool',
                            ],
                        ],
                    ],
                    'ADMIN_get' => [
                        'path' => '/admin/events',
                        'method' => 'GET',
                        'normalization_context' => [
                            'groups' => [
                                'aRead',
                            ],
                            'skip_null_values' => false,
                        ],
                        'security' => 'is_granted(\'admin_event_list\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Administration',
                            ],
                        ],
                    ],
                    'ADMIN_post' => [
                        'path' => '/admin/events',
                        'method' => 'POST',
                        'normalization_context' => [
                            'groups' => [
                                'aRead',
                            ],
                        ],
                        'denormalization_context' => [
                            'groups' => [
                                'aWrite',
                            ],
                        ],
                        'security' => 'is_granted(\'admin_event_create\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Administration',
                            ],
                        ],
                    ],
                ],
            ],
            'itemOperations' => [
                4 => [
                    'get' => [
                        'security' => 'is_granted(\'event_read\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Events',
                            ],
                        ],
                    ],
                    'put' => [
                        'security' => 'is_granted(\'event_update\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Events',
                            ],
                        ],
                    ],
                    'delete' => [
                        'path' => '/events/{id}',
                        'method' => 'DELETE',
                        'security' => 'is_granted(\'event_delete\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Events',
                            ],
                        ],
                    ],
                    'ADMIN_get' => [
                        'path' => '/admin/events/{id}',
                        'method' => 'GET',
                        'normalization_context' => [
                            'groups' => [
                                'aRead',
                            ],
                        ],
                        'security' => 'is_granted(\'admin_event_read\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Administration',
                            ],
                        ],
                    ],
                    'ADMIN_patch' => [
                        'path' => '/admin/events/{id}',
                        'method' => 'PATCH',
                        'normalization_context' => [
                            'groups' => [
                                'aRead',
                            ],
                        ],
                        'denormalization_context' => [
                            'groups' => [
                                'aWrite',
                            ],
                        ],
                        'security' => 'is_granted(\'admin_event_update\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Administration',
                            ],
                        ],
                    ],
                    'ADMIN_delete' => [
                        'path' => '/admin/events/{id}',
                        'method' => 'DELETE',
                        'normalization_context' => [
                            'groups' => [
                                'aRead',
                            ],
                        ],
                        'denormalization_context' => [
                            'groups' => [
                                'aWrite',
                            ],
                        ],
                        'security' => 'is_granted(\'admin_event_delete\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Administration',
                            ],
                        ],
                    ],
                ],
            ],
            'attributes' => [
                4 => [
                    'force_eager' => false,
                    'normalization_context' => [
                        'groups' => [
                            'readEvent',
                        ],
                        'enable_max_depth' => 'true',
                    ],
                    'denormalization_context' => [
                        'groups' => [
                            'write',
                        ],
                    ],
                    'pagination_client_items_per_page' => true,
                ],
            ],
            'filterClass' => [
                5 => 'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\OrderFilter',
                'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\DateFilter',
                'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\SearchFilter',
                'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\NumericFilter',
                'App\\Event\\Filter\\TerritoryFilter',
                'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\BooleanFilter',
                'App\\Event\\Filter\\EventAddressTerritoryFilter',
            ],
            'properties' => [
                5 => [
                    'id',
                    'fromDate',
                    'name',
                    'toDate',
                    'createdDate',
                ],
                [
                    'toDate',
                    'fromDate',
                ],
                [
                    'name' => 'partial',
                ],
                [
                    'community.id',
                    'id',
                ],
                [
                    'territory',
                ],
                [
                    'private',
                ],
                [
                    'eventAddressTerritoryFilter',
                ],
            ],
            'arguments' => [
                5 => [
                    'orderParameterName' => 'order',
                ],
            ],
        ],
    ],
    [
        $o[0],
        $o[1],
        $o[3],
        $o[4],
        $o[5],
        $o[6],
        $o[7],
        $o[8],
        $o[9],
        $o[10],
        $o[11],
    ],
    []
); }];
