| 1 | <?php |
||
| 10 | final class NullSerializer implements SerializerInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Unserializes cached data into the original state. |
||
| 14 | * |
||
| 15 | * @param mixed $data The data to unserialize. |
||
| 16 | * |
||
| 17 | * @return mixed |
||
| 18 | */ |
||
| 19 | public function unserialize($data) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Serializes the given data for storage in caching. |
||
| 26 | * |
||
| 27 | * @param mixed $value The data to serialize for caching. |
||
| 28 | * |
||
| 29 | * @return mixed The result of serializing the given $data. |
||
| 30 | */ |
||
| 31 | public function serialize($value) |
||
| 35 | } |
||
| 36 |