1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Fixtures;
6
7use JMS\Serializer\Annotation as Serializer;
8
9/**
10 * @Serializer\VirtualProperty(
11 *     "invalid",
12 *     exp="oinvalid"
13 * )
14 */
15class ObjectWithInvalidExpression
16{
17    /**
18     * @var @Serializer\Exclude(if="inval")
19     */
20    private $prop1;
21
22    /**
23     * @var @Serializer\Expose(if="invalid")
24     */
25    private $prop2;
26}
27