public function getProcessedResult()
    {
        $status = StepResult::SKIPPED;

        if (!empty(static::$resultLabels[$this->getResultCode()])) {
            $status = static::$resultLabels[$this->getResultCode()];
        }

        return [
            'status' => $status,
            'error_message' => $this->getException(),
            'duration' => $this->getDuration() * 1000 * 1000000,
        ];
    }
public function getProcessedResult()
    {
        $status = StepResult::SKIPPED;

        if (!empty(static::$resultLabels[$this->getResultCode()])) {
            $status = static::$resultLabels[$this->getResultCode()];
        }

        return [
            'status' => $status,
            'error_message' => $this->getException(),
            'duration' => $this->getDuration() * 1000 * 1000000,
        ];
    }
public function getProcessedResult ( ) { $ status = StepResult :: SKIPPED ; if ( ! empty ( static :: $ resultLabels [ $ this -> getResultCode ( ) ] ) ) { $ status = static :: $ resultLabels [ $ this -> getResultCode ( ) ] ; } return [ 'status' => $ status , 'error_message' => $ this -> getException ( ) , 'duration' => $ this -> getDuration ( ) * 1000 * 1000000 , ] ; }
Process result.

@return array
Process result .