protected function restoreState(array $data)
    {
        if (isset($data['status'])) {
            $this->status = array_merge($this->status, $data['status']);
        }
    
        if (isset($data['jobUuid'])) {
            $this->jobUuid = $data['jobUuid'];
            $this->logContext['jobUuid'] = $data['jobUuid'];
        } else {
            $this->jobUuid = null;
            $this->logContext['jobUuid'] = null;
        }
    }
protected function restoreState(array $data)
    {
        if (isset($data['status'])) {
            $this->status = array_merge($this->status, $data['status']);
        }
    
        if (isset($data['jobUuid'])) {
            $this->jobUuid = $data['jobUuid'];
            $this->logContext['jobUuid'] = $data['jobUuid'];
        } else {
            $this->jobUuid = null;
            $this->logContext['jobUuid'] = null;
        }
    }
protected function restoreState ( array $ data ) { if ( isset ( $ data [ 'status' ] ) ) { $ this -> status = array_merge ( $ this -> status , $ data [ 'status' ] ) ; } if ( isset ( $ data [ 'jobUuid' ] ) ) { $ this -> jobUuid = $ data [ 'jobUuid' ] ; $ this -> logContext [ 'jobUuid' ] = $ data [ 'jobUuid' ] ; } else { $ this -> jobUuid = null ; $ this -> logContext [ 'jobUuid' ] = null ; } }
Restore state of task from data supplied by command

@param array $data
@return void
Restore state of task from data supplied by command