StateMachine Very simple state machine implementation. Define a set of transitions as part of an 'engine' and then use that engine to drive the behaviour of one or more state machines. See example.php for usage.