| 1 | <?php |
||
| 10 | class DateHandler extends JMSDateHandler |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | 24 | * Constructor. |
|
| 14 | */ |
||
| 15 | 24 | public function __construct() |
|
| 19 | 21 | ||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | public function serializeDateTime(VisitorInterface $visitor, \DateTime $date, array $type, Context $context) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | public function deserializeDateTimeFromJson(JsonDeserializationVisitor $visitor, $data, array $type) |
||
| 50 | } |
||
| 51 |