*/ private $steps = array(); function add(string $step, string $outcome, string $detail = ''): void { $this->steps[] = array('step' => $step, 'outcome' => $outcome, 'detail' => $detail); } /** @return list */ function getSteps(): array { return $this->steps; } function reset(): void { $this->steps = array(); } }