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

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['ApiPlatform\\Core\\Annotation\\ApiFilter'],
    ],
    null,
    [
        'stdClass' => [
            'repositoryClass' => [
                'App\\Repository\\MessageRepository',
            ],
            'collectionOperations' => [
                1 => [
                    'get',
                    'post' => [
                        'method' => 'POST',
                        'controller' => 'App\\Api\\Controller\\CreateMessageOrder',
                    ],
                ],
            ],
            'itemOperations' => [
                1 => [
                    'delete' => [
                        'security' => 'object.getUser() == user',
                    ],
                    'get',
                    'put' => [
                        'method' => 'PUT',
                        'security' => 'object.getUser() == user',
                    ],
                ],
            ],
            'shortName' => [
                1 => 'Order_messages',
            ],
            'attributes' => [
                1 => [
                    'security' => 'is_granted(\'ROLE_SELLER\') or is_granted(\'ROLE_CLIENT_USER\')',
                    'normalization_context' => [
                        'groups' => [
                            'message_read',
                            'timestampable',
                            'dashboard_read_messages',
                        ],
                    ],
                    'denormalization_context' => [
                        'groups' => [
                            'message_write',
                        ],
                    ],
                ],
            ],
            'filterClass' => [
                2 => 'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\SearchFilter',
                'ApiPlatform\\Core\\Bridge\\Doctrine\\Orm\\Filter\\OrderFilter',
            ],
            'properties' => [
                2 => [
                    'orderClient' => 'exact',
                ],
                [
                    'id' => 'DESC',
                ],
            ],
        ],
    ],
    [
        $o[0],
        $o[1],
        $o[2],
        $o[3],
    ],
    []
); }];
