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: workflow.rst
+4-1
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,10 @@ follows:
162
162
163
163
.. tip::
164
164
165
-
You can use constants in YAML files and add some in the BlogPost entity for places ``draft`` by ``!php/const App\Entity\BlogPost::STATE_DRAFT`` or for transitions ``to_review`` by ``!php/const App\Entity\BlogPost::TRANSITION_TO_REVIEW``.
165
+
You can use PHP constants in YAML files via the ``!php/const `` notation.
166
+
E.g. you can use ``!php/const App\Entity\BlogPost::STATE_DRAFT`` instead of
167
+
``'draft'`` or ``!php/const App\Entity\BlogPost::TRANSITION_TO_REVIEW``
168
+
instead of ``'to_review'``.
166
169
167
170
The configured property will be used via its implemented getter/setter methods by the marking store::
0 commit comments