| 1 | <?php |
||
| 13 | class DateTimeParser implements ValueParserInterface |
||
| 14 | { |
||
| 15 | const NAME = 'datetime'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritdoc} |
||
| 19 | */ |
||
| 20 | public function getName() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function toObjectValue($value, $type, \ReflectionProperty $property, $object) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function toArrayValue($value, $type, \ReflectionProperty $property, $object) |
||
| 48 | } |
||
| 49 |