| 1 | <?php |
||
| 20 | class HashHandler |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Serialize Hash object |
||
| 24 | * |
||
| 25 | * @param JsonSerializationVisitor $visitor Visitor |
||
| 26 | * @param Hash $data Data |
||
| 27 | * @param array $type Type |
||
| 28 | * @param Context $context Context |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | public function serializeHashToJson( |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Deserialize Hash object |
||
| 42 | * |
||
| 43 | * @param JsonDeserializationVisitor $visitor Visitor |
||
| 44 | * @param array $data Data |
||
| 45 | * @param array $type Type |
||
| 46 | * @param Context $context Context |
||
| 47 | * @return Hash |
||
| 48 | */ |
||
| 49 | public function deserializeHashFromJson( |
||
| 57 | } |
||
| 58 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.