Skip to content

Commit bca1601

Browse files
committed
Added the versionadded directive
1 parent e35a775 commit bca1601

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

workflow.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,14 @@ order:
334334
* ``workflow.[workflow name].announce``
335335
* ``workflow.[workflow name].announce.[transition name]``
336336

337-
You can avoid those events by using the context::
337+
You can avoid triggering those events by using the context::
338338

339339
$workflow->apply($subject, $transitionName, [Workflow::DISABLE_ANNOUNCE_EVENT => true]);
340340

341+
.. versionadded:: 5.1
342+
343+
The ``Workflow::DISABLE_ANNOUNCE_EVENT`` constant was introduced in Symfony 5.1.
344+
341345
.. note::
342346

343347
The leaving and entering events are triggered even for transitions that stay

0 commit comments

Comments
 (0)