Initialize the state machine at a specific lifecycle phase. Called from KosModel lifecycle hooks.
The model instance
The current lifecycle phase
Initialize the state machine at a specific lifecycle phase. Called from KosModel lifecycle hooks.