1 | <?php |
||
11 | class DateTimeHandler implements DataTypeHandlerInterface |
||
12 | { |
||
13 | const PARAMETER_FORMAT = 0; |
||
14 | |||
15 | /** |
||
16 | * {@inheritdoc} |
||
17 | */ |
||
18 | 2 | public function toResource($value, string $type, array $parameters) |
|
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | 2 | public function fromResource($value, string $type, array $parameters) |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function supports(): array |
||
58 | } |