Download the PHP package bradliu/heshen without Composer
On this page you can find all versions of the php package bradliu/heshen. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package heshen
Heshen
Finite-state Machine In PHP
Features
- 基于 Stateful 对象绑定 Graph
- Transition 事件监听
- 便捷的 Transition Checker
- 以上都在瞎扯淡
Documentation
none
Usage
先定义 Stateful 对象
然后定义一个 Blueprint 来配置 Transition 及 State
开始使用!
通过 Factory 获取 Machine
Tips
在实现 StatefulInterface::setState()
时, 如有需要, 应当使用锁避免冲突.
All versions of heshen with dependencies
PHP Build Version
Package Version
Requires
symfony/event-dispatcher Version
^4.0
The package bradliu/heshen contains the following files
Loading the files please wait ....