This method can be used to 'add' the state information to the backend via
the context/persistence adapter when a machine has been initialized for
the first time.
public getInitialState ( boolean $allow_null = false ) : |
||
$allow_null | boolean | optional |
return | (or null or Exception, only when statemachine is improperly loaded) |