setPhase function

void setPhase(
  1. StepSection section
)

Moves the active context into a lifecycle section (plugin tier).

Implementation

void setPhase(StepSection section) {
  getContext()?.section = section;
}