In Brexis\LaravelWorkflow\Events\WorkflowSubscriber::guardEvent() only the general guard event for the workflow is fired, but not the event for the specific transition (workflow.[workflow name].guard.[transition name]).
To allow someone to create a listener for a specific transition guard, the event has to be thrown. I think it's solved by adding this line to the method:
In
Brexis\LaravelWorkflow\Events\WorkflowSubscriber::guardEvent()
only the general guard event for the workflow is fired, but not the event for the specific transition (workflow.[workflow name].guard.[transition name]
).To allow someone to create a listener for a specific transition guard, the event has to be thrown. I think it's solved by adding this line to the method:
If you want, I could create a pull request for this. Thanks!