DoctrineStateMachineBundle icon indicating copy to clipboard operation
DoctrineStateMachineBundle copied to clipboard

Support guard?

Open marcemira opened this issue 8 years ago • 0 comments

Hey man, awesome bundle :+1: . I was looking for a way to support Finite's guard mechanism, and I stumbled upon some Finite limitation when it comes to methods for guards. It uses is_callable in order to verify if a method can be used as guard for transitions. In our case, using it inside our entity instance becomes tricky... I was trying to accomplish it without much luck or excessively patch Finite and your bundle.

Do you have any plans on supporting this feature? Do you happen to know any way around this?

Thanks :grin:

marcemira avatar Mar 26 '16 00:03 marcemira