SerializationInterface::encode

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);
doc_Drupal
2016-10-29 09:41:53
Comments
Leave a Comment

Please login to continue.