Skip to content

Commit 7ee76d0

Browse files
committed
Minor tweak
1 parent a099575 commit 7ee76d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

workflow.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ follows:
162162

163163
.. tip::
164164

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'``.
166169

167170
The configured property will be used via its implemented getter/setter methods by the marking store::
168171

0 commit comments

Comments
 (0)