Skip to content

Commit 93fec2c

Browse files
committed
feature #37539 [Workflow] Added Context to Workflow Event (epitre)
This PR was merged into the 5.2-dev branch. Discussion ---------- [Workflow] Added Context to Workflow Event There's also a default context for the initial marking event. | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix #37421 | License | MIT | Doc PR | symfony/symfony-docs#13947 This time, I need context in the events, because, sometimes, the transition is automatic and sometimes, it is manual. I want to be able to make the difference. I figured using the context for that is a good idea. I hope you do too :) By the way, I believe it also fixes #37421 . I took @pluk77 request to be able to differentiate an initial marking by having a default context in that case Commits ------- bfe07dda83 Added Context to Workflow Event There's also a default context for the initial marking event.
2 parents 32184b2 + 6453cc0 commit 93fec2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Extension/WorkflowExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* WorkflowExtension.
2222
*
2323
* @author Grégoire Pineau <[email protected]>
24+
* @author Carlos Pereira De Amorim <[email protected]>
2425
*/
2526
final class WorkflowExtension extends AbstractExtension
2627
{

0 commit comments

Comments
 (0)