Flow is a business flow implementation.
Often, we are faced with complex business rules. It can be easily verified if the processes and transitions can be visualized. Flow does that and more.
- Transition Events
- Visualization - Using symfony/workflow
Each process must implement ProcessInterface
. Each process implementation should avoid storing state. The output of the proceed()
method should only depend on the input payload
.
A StrategyInterface
implementation decides which process from a number of possible processes should be picked.
The main Flow class. See Examples.