8000 Merge branch '5.4' into 6.3 · symfony/symfony-docs@be8ff58 · GitHub
[go: up one dir, main page]

Skip to content

Commit be8ff58

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: [Workflow] Remove registry workflow retrieval occurrences
2 parents aadda22 + 082fd04 commit be8ff58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ In a :ref:`flash message <flash-messages>` in your controller::
10421042

10431043
// $transition = ...; (an instance of Transition)
10441044

1045-
// $workflow is a Workflow instance retrieved from the Registry or injected directly (see above)
1045+
// $workflow is an injected Workflow instance
10461046
$title = $workflow->getMetadataStore()->getMetadata('title', $transition);
10471047
$this->addFlash('info', "You have successfully applied the transition with title: '$title'");
10481048

0 commit comments

Comments
 (0)
0