Array of constructors
Clear all registered handlers
Get the handler for a class
The class to look up
Handler or null
Register a custom type handler
The class/constructor to handle
How to serialize: 'object', 'array', or 'scalar'
Transformation function
Check if a handler exists for a class
The class to check
boolean
Transform a value using its registered handler Returns the value unchanged if no handler is registered
The value to transform
The transformed value
Unregister a type handler
The class/constructor to unregister
List all registered types