<?php
namespace JMS\Serializer\Tests\Fixtures;
use JMS\Serializer\Annotation\Type;
class Timestamp
{
/**
* @Type("DateTime<'U'>")
*/
private $timestamp;
public function __construct($timestamp)
{
$this->timestamp = $timestamp;
}
public function getTimestamp()
{
return $this->timestamp;
}
}