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