/** * Method for handle data saving logic. Can be redefined in child classes. */ protected function saveResults() { $this->node->saveData($this->workload['key'], ['data' => $this->results]); }