1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Fixtures;
6
7use JMS\Serializer\Annotation\ExclusionPolicy;
8use JMS\Serializer\Annotation\VirtualProperty;
9
10/**
11 * @VirtualProperty(
12 *     "virtualValue",
13 *     exp="object.getVirtualValue()"
14 * )
15 * @ExclusionPolicy("all")
16 */
17class ObjectWithExpressionVirtualPropertiesAndExcludeAll
18{
19    public function getVirtualValue()
20    {
21        return 'value';
22    }
23}
24