public function recordEventFinish()
    {
        if (is_null($this->history)) {
            return;
        }

        $this->history->time_to_run = $this->calculateRunTime();
        $this->history->exitcode = $this->exitcode;
        $this->history->output = $this->retrieveOutput();
        $this->history->save();
    }
public function recordEventFinish()
    {
        if (is_null($this->history)) {
            return;
        }

        $this->history->time_to_run = $this->calculateRunTime();
        $this->history->exitcode = $this->exitcode;
        $this->history->output = $this->retrieveOutput();
        $this->history->save();
    }
public function recordEventFinish ( ) { if ( is_null ( $ this -> history ) ) { return ; } $ this -> history -> time_to_run = $ this -> calculateRunTime ( ) ; $ this -> history -> exitcode = $ this -> exitcode ; $ this -> history -> output = $ this -> retrieveOutput ( ) ; $ this -> history -> save ( ) ; }
Pass the results of the of the job to Eyewitness to record.

@return void
Pass the results of the of the job to Eyewitness to record .