1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Fixtures;
6
7use JMS\Serializer\Annotation\SerializedName;
8use JMS\Serializer\Annotation\Since;
9use JMS\Serializer\Annotation\Until;
10
11class VersionedObject
12{
13    /**
14     * @Until("1.0.0")
15     */
16    private $name;
17
18    /**
19     * @Since("1.0.1")
20     * @SerializedName("name")
21     */
22    private $name2;
23
24    public function __construct($name, $name2)
25    {
26        $this->name = $name;
27        $this->name2 = $name2;
28    }
29}
30