You are viewing documentation for an outdated version. It is no longer supported!
Serialization
You can also serialise and unserialise your DTOs, using PHP's native methods.
Serialise
$serialised = serialize($person);
Unserialise
$person = unserialize($serialised);