File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,10 @@ like this:
161161 If a ``multiple_state `` is used, the persisted state type should be an ``array ``,
162162 using Doctrine, you can use ``json `` or ``json_array ``.
163163
164- If a ``single_state `` is used, the persisted state type could be a string
164+ If a ``single_state `` is used, the persisted state type could be a string,
165+ if you need to store an int (due to DB limitations and/or project constraints),
166+ be aware that you need to implement :class: `Symfony\\ Component\\ Workflow\\ MarkingStore\\ MarkingStoreInterface `
167+ in order to transform the int back to something understandable by Workflow.
165168
166169 If something else is used, you're in charge of choosing the best storage format.
167170
You can’t perform that action at this time.
0 commit comments