We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1fe04f commit b8d0072Copy full SHA for b8d0072
UPGRADING.md
@@ -14,6 +14,18 @@ Upgrading From 0.9 to 1.0
14
15
Please see the documentation for how to set-up one of these.
16
17
+- Objects implementing Traversable
18
+
19
+ Objects that implement the Traversable interface are not automatically treated specially
20
+ anymore, but are serialized just like any regular object. If you would like to restore the
21
+ previous behavior, you can either add a custom handler, or force the serialization type
22
+ to ``array`` using the ``@Type`` annotation (or its equivalent in XML/YML):
23
24
+ ```
25
+ /** @Type("array") */
26
+ private $myTraversableObject;
27
28
29
- Configuration
30
31
Most of the configuration under ``jms_serializer.handlers`` is gone. The order is not
0 commit comments