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

return [PHP_INT_MAX, static function () { return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
    $o = [
        clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['ApiPlatform\\Core\\Annotation\\ApiResource'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ApiPlatform\\Core\\Annotation\\ApiResource')),
    ],
    null,
    [
        'stdClass' => [
            'collectionOperations' => [
                [
                    'get' => [
                        'normalization_context' => [
                            'groups' => [
                                'externalJourney',
                            ],
                        ],
                        'security' => 'is_granted(\'external_journey_list\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Carpool',
                            ],
                            'parameters' => [
                                [
                                    'name' => 'driver',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'description' => '1 if you want to display drivers journeys, 0 instead',
                                ],
                                [
                                    'name' => 'passenger',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'description' => '1 if you want to display passengers journeys, 0 instead',
                                ],
                                [
                                    'name' => 'from_latitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'description' => 'Latitude of the origin point',
                                ],
                                [
                                    'name' => 'from_longitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'description' => 'Longitude of the origin point',
                                ],
                                [
                                    'name' => 'to_latitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'description' => 'Latitude of the destination point',
                                ],
                                [
                                    'name' => 'to_longitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'description' => 'Longitude of the destination point',
                                ],
                                [
                                    'name' => 'rawJson',
                                    'in' => 'query',
                                    'required' => 'false',
                                    'type' => 'string',
                                    'description' => 'If set to 1, this return the raw RDEX format. Otherwise it\'s returning an array of Carpool Result',
                                ],
                            ],
                        ],
                    ],
                    'ADMIN_get' => [
                        'path' => '/admin/external_journeys',
                        'method' => 'GET',
                        'normalization_context' => [
                            'groups' => [
                                'externalJourney',
                            ],
                            'skip_null_values' => false,
                        ],
                        'security' => 'is_granted(\'external_journey_list\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Administration',
                            ],
                        ],
                    ],
                ],
            ],
            'itemOperations' => [
                [
                    'get' => [
                        'security' => 'is_granted(\'reject\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'Carpool',
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
    [
        $o[0],
    ],
    []
); }];
