public function setPhaseGroupHasFailed($phaseResult) { $this->resultCode = self::FAIL; $this->failedPhase = $phaseResult; $this->setEndTime(); }