-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add event-subscriber to throw flushed workflow events #188
base: 0.8
Are you sure you want to change the base?
Conversation
public static function getSubscribedEvents() | ||
{ | ||
return [ | ||
sprintf('workflow.%s.completed', WorkflowInterface::WORKFLOW_DEFAULT_NAME) => 'onCompleted', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create an issue that this is here hardcoded and we should find a way that this events are also thrown for custom workflows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could hear on workflow.completed
and check for the names (but they have to be declared then somehow)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we know all the names of the worklows?
94bc27b
to
5323396
Compare
5323396
to
a6c4698
Compare
Fixes #129