Finite
Finite copied to clipboard
A Simple PHP Finite State Machine
The current implementation allow to reject a post-transition event… Which make no sense.
Like the current `StatefulInterface` for simple graphs. This interface could contains a method, which could look like this when implemented : ``` php public function configureStatefulProperties(Configurator $configurator) { $configurator->addStatefulProperty('graph', 'property');...
Should be better decouple the value of the state from its name, the value could have different type from the name eg number. eg: ``` yaml draft: type: initial value:...
I have custom core bundle in my Sylius app, and have `src/Umpirsky/Bundle/CoreBundle/Resources/config/finite.yml` file where I override: ``` yml finite_finite: sylius_order_shipping: ... ``` The problem is that `sylius_payment` callbacks are not...
In finite state machine all transitions has probability of 100%, in Markov chain this probability can be configured. Modifications are need to be done: - store probability in transition -...
There can be some cases when one part of the transition should be a wildcard, so that the state can change TO ANY or can change FROM ANY. Example: Customer...
I moved from the winzou/statemachine to this one because I wanted to add an interface to my stateful objects and have methods manipulate these. Now I've been looking at what...
It's a nice and useful library, but it needs more care - solve outstanding issues, tag release versions regularly. If you don't have the time or willpower to work on...
Similar to #40, currently it is not possible to add new transitions to an existing graph. However `states` is able to extend from pervious config. Another question, when I try...