Skip to content

Commit 83e2947

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Minor tweak
2 parents c8ee1e9 + 9f8ca28 commit 83e2947

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

workflow.rst

Lines changed: 4 additions & 1 deletion
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)