1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Fixtures;
6
7use JMS\Serializer\Annotation\Type;
8
9class Timestamp
10{
11    /**
12     * @Type("DateTime<'U'>")
13     */
14    private $timestamp;
15
16    public function __construct($timestamp)
17    {
18        $this->timestamp = $timestamp;
19    }
20
21    public function getTimestamp()
22    {
23        return $this->timestamp;
24    }
25}
26