interface for serializers.

package Amfphp_Core_Common
author Ariel Sommeria-klein

 Methods

Calling this executes the serialization.

serialize(mixed $data) : String

The return type is noted as a String, but is a binary stream. echo it to the output buffer

Parameters

$data

mixed

the data to serialize.

Returns

String