public static function PhpSerialize::decode in Plug 7
Decodes data from the serialization format.
Parameters
string $raw: The raw data string to decode.
Return value
mixed The decoded data.
Overrides SerializationInterface::decode
File
- lib/
Drupal/ Component/ Serialization/ PhpSerialize.php, line 25 - Contains \Drupal\Component\Serialization\PhpSerialize.
Class
- PhpSerialize
- Default serialization for serialized PHP.
Namespace
Drupal\Component\SerializationCode
public static function decode($raw) {
return unserialize($raw);
}