1 | <?php |
||
17 | class DateIntervalSerializer |
||
18 | { |
||
19 | /** |
||
20 | * @param Serializer $serializer |
||
21 | * @param string $className |
||
22 | * @param array $value |
||
23 | * |
||
24 | * @return object |
||
25 | */ |
||
26 | public static function unserialize(Serializer $serializer, $className, array $value) |
||
32 | |||
33 | /** |
||
34 | * @param array $value |
||
35 | * @param ReflectionClass $ref |
||
36 | * |
||
37 | * @return object |
||
38 | */ |
||
39 | protected static function fillObjectProperties(array $value, ReflectionClass $ref) |
||
50 | |||
51 | /** |
||
52 | * @param Serializer $serializer |
||
53 | * @param array $value |
||
54 | * |
||
55 | * @return mixed |
||
56 | */ |
||
57 | protected static function getTypedValue(Serializer $serializer, array $value) |
||
65 | |||
66 | /** |
||
67 | * @param Serializer $serializer |
||
68 | * @param DateInterval $dateInterval |
||
69 | * |
||
70 | * @return mixed |
||
71 | */ |
||
72 | public static function serialize(Serializer $serializer, DateInterval $dateInterval) |
||
98 | } |
||
99 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.