protected function getBatchArray() { $batch = []; if (!is_null($this->properties['batch'])) { $batch = $this->properties['batch']->getBatchArray(); } return $batch; }