<?php //%255BApp%255CRdexPlus%255CResource%255CJourney%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' => [
                [
                    'rdex_plus_journey_get' => [
                        'method' => 'GET',
                        'path' => '/journeys',
                        'security' => 'is_granted(\'ad_list\',object)',
                        'swagger_context' => [
                            'summary' => 'Search for matching journeys',
                            'tags' => [
                                'Interoperability',
                                'RDEX+',
                            ],
                        ],
                    ],
                    'rdex_plus_journey_post' => [
                        'method' => 'POST',
                        'path' => '/journeys',
                        'security_post_denormalize' => 'is_granted(\'ad_search_create\',object)',
                        'swagger_context' => [
                            'summary' => 'Publish a journey',
                            'tags' => [
                                'Interoperability',
                                'RDEX+',
                            ],
                        ],
                    ],
                ],
            ],
            'itemOperations' => [
                [
                    'rdex_plus_journey_get_item' => [
                        'method' => 'GET',
                        'path' => '/journeys/{id}',
                        'security' => 'is_granted(\'reject\',object)',
                        'swagger_context' => [
                            'summary' => 'Get a journey (not implemented)',
                            'tags' => [
                                'Interoperability',
                                'RDEX+',
                            ],
                        ],
                    ],
                ],
            ],
            'attributes' => [
                [
                    'normalization_context' => [
                        'groups' => [
                            'rdexPlusRead',
                        ],
                        'enable_max_depth' => 'true',
                    ],
                    'denormalization_context' => [
                        'groups' => [
                            'rdexPlusWrite',
                        ],
                    ],
                    'route_prefix' => '/interoperability',
                ],
            ],
        ],
    ],
    [
        $o[0],
    ],
    []
); }];
