Method Serializer.Serializable()->_serialize()
- Method
_serialize
 protectedvoid_serialize(objecto,function(mixed,string,type:void)serializer)- Description
 Dispatch function for serialization.
- Parameter 
o Object to serialize. Always a context of the current object.
- Parameter 
serializer Function to typically be called once for every variable in the inheriting class.
This function calls _serialize_variable() once for every variable in the inheriting class, which in turn will call
serializerwith the arguments:- Argument 1
 The value of the variable.
- Argument 2
 The name of the variable.
- Argument 3
 The declared type of the variable.
- Note
 The symbols will be listed in the order they were defined in the class.
- Note
 This function is typically called via Serializer.serialize().
- See also
 Serializer.serialize(), _serialize_variable(), _deserialize()