1234567891011121314151617181920212223 |
- <?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;
- }
- }
|