W3cubDocs

/Drupal 8

interface SerializationInterface

Defines an interface for serialization formats.

Hierarchy

File

core/lib/Drupal/Component/Serialization/SerializationInterface.php, line 8

Namespace

Drupal\Component\Serialization

Members

Name Modifiers Type Description
SerializationInterface::decode public static function Decodes data from the serialization format.
SerializationInterface::encode public static function Encodes data into the serialization format.
SerializationInterface::getFileExtension public static function Gets the file extension for this serialization format.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Serialization!SerializationInterface.php/interface/SerializationInterface/8.1.x