/**
  * Configures the chunk settings
  */
 protected function configure()
 {
     // Check for a previous chunk
     $lastChunk = $this->Config->getItemExportLastChunk();
     if ($lastChunk > 0) {
         $this->currentChunk = $lastChunk + 1;
     }
     // Max. number of chunks per run
     $this->maxChunks = (int) $this->Config->getInitialExportChunksPerRun(PlentymarketsExportController::DEFAULT_CHUNKS_PER_RUN);
     // Items per chunk
     $this->sizeOfChunk = (int) PlentymarketsConfig::getInstance()->getInitialExportChunkSize(PlentymarketsExportController::DEFAULT_CHUNK_SIZE);
 }