Finite icon indicating copy to clipboard operation
Finite copied to clipboard

Guard Cannot access attributes

Open xjchengo opened this issue 7 years ago • 1 comments

As https://github.com/yohang/Finite/blob/master/src/Finite/StateMachine/StateMachine.php#L150 shows, guard can only access current state machine. Can we pass $parameters to guard like https://github.com/yohang/Finite/blob/master/src/Finite/StateMachine/StateMachine.php#L158?

xjchengo avatar Aug 05 '16 03:08 xjchengo

This is implemented in PR #121 but at this time is not merged.

johnkary avatar Jan 18 '17 04:01 johnkary