Fork me on Github

Interface Finite\Loader\ LoaderInterface

State & Transitions Loader interface

Methods

load( StateMachineInterface $stateMachine)

Loads a state machine

boolean supports( StatefulInterface $object)

Returns if this loader supports $object

Details

public load( StateMachineInterface $stateMachine)

Loads a state machine

Parameters
StateMachineInterface $stateMachine

public boolean supports( StatefulInterface $object)

Returns if this loader supports $object

Parameters
StatefulInterface $object
Return Value
boolean