1 | <?php |
||
11 | class NullSerializer extends AbstractSerializer |
||
12 | { |
||
13 | /** |
||
14 | * Serialized content type. |
||
15 | * type/lang[/serizalizationFunctions] |
||
16 | */ |
||
17 | const SERIALIZED_CONTENT_TYPE = 'text/plain'; |
||
18 | |||
19 | /** |
||
20 | * @param string $input |
||
21 | * @return string |
||
22 | */ |
||
23 | 1 | public function serialize($input) |
|
27 | |||
28 | /** |
||
29 | * @param string $input |
||
30 | * @return string |
||
31 | */ |
||
32 | 1 | public function unserialize($input) |
|
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | 1 | public function getSerializedContentType() |
|
44 | } |