You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ what breaks our model.
128
128
Slider configuration is just object we need to store, but we don't need to query for it. So it's much simpler to store it in a JSON format
129
129
in one column of "banner_set" table.
130
130
131
-
Our ***BannerSet** Doctrine mapping file would look like:
131
+
***BannerSet*** Doctrine mapping file would look like:
132
132
133
133
```yaml
134
134
entity:
@@ -144,7 +144,11 @@ entity:
144
144
And that's it!
145
145
146
146
Obviously, we need to provide the ***Serializer*** mapping for ***Slider1*** and ***Slider2***
147
-
(what can be done in different ways, eg. via Annotations - check the JMSSerializer documentation for more details).
147
+
(what can be done in different ways, eg. via Annotations - check the [JMSSerializer documentation](http://jmsyst.com/libs/serializer) for more details).
148
+
149
+
# Symfony 2/3 integration
150
+
151
+
See [WebitDoctrineJsonBundle](https://github.com/dbojdo/Doctrine-JSON-Bundle) Symfony 2/3 integration.
0 commit comments