public static SerializationInterface::encode($data)
Encodes data into the serialization format.
Parameters
mixed $data: The data to encode.
Return value
string The encoded data.
File
- core/lib/Drupal/Component/Serialization/SerializationInterface.php, line 19
Class
- SerializationInterface
- Defines an interface for serialization formats.
Namespace
Drupal\Component\Serialization
Code
public static function encode($data);
Please login to continue.