1 | <?php |
||
16 | class FormatConversionStrategy implements StrategyInterface |
||
|
|||
17 | { |
||
18 | protected $conversionFormat; |
||
19 | |||
20 | /** |
||
21 | * @param string $conversionFormat |
||
22 | * @throws \InvalidArgumentException |
||
23 | */ |
||
24 | 9 | public function __construct($conversionFormat) |
|
31 | |||
32 | /** |
||
33 | * @param DateTime|null $value |
||
34 | * @return string|null |
||
35 | * @throws \InvalidArgumentException |
||
36 | */ |
||
37 | 5 | public function extract($value) |
|
50 | |||
51 | /** |
||
52 | * @param string $value |
||
53 | * @return string |
||
54 | */ |
||
55 | 1 | public function hydrate($value) |
|
59 | } |
||
60 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.