Serialization
When Events and States are stored in the database, they are serialized using the Symfony Serializer. This takes all the public properties on your objects and converts them to JSON, using a number of Normalizers.
Verbs ships with a number of default normalizers that should be perfect for the typical Laravel
application. If you need to store more complex data, you may need to add your own normalizers,
which you can do in config/verbs.php
file. You may also change the
default serializer context
there as well.