diff --git a/src/Readers/JsonReader.php b/src/Readers/JsonReader.php index 8cb6f1b..c37746f 100644 --- a/src/Readers/JsonReader.php +++ b/src/Readers/JsonReader.php @@ -30,7 +30,7 @@ class JsonReader implements ReaderInterface, Iterator if ($this->currentFile === $this->loadedFile) return; if ($this->currentFile >= count($this->files)) { - printf("Reached end of set at slice=%d\n", $this->currentFile); + //printf("Reached end of set at slice=%d\n", $this->currentFile); return; } $file = $this->files[$this->currentFile]; @@ -38,7 +38,7 @@ class JsonReader implements ReaderInterface, Iterator $this->loadData($json); $this->loadedFile = $this->currentFile; - printf("loaded slice %d: %s\n", $this->currentFile, $file); + //printf("loaded slice %d: %s\n", $this->currentFile, $file); } private function loadData(array $data) @@ -53,7 +53,7 @@ class JsonReader implements ReaderInterface, Iterator $this->currentFile = 0; $this->currentIndex = 0; $this->counter = 0; - printf("Rewinding to slice=%d index=%d\n", $this->currentFile, $this->currentIndex); + //printf("Rewinding to slice=%d index=%d\n", $this->currentFile, $this->currentIndex); $this->checkLoadedSlice(); } @@ -77,7 +77,7 @@ class JsonReader implements ReaderInterface, Iterator if ($this->currentIndex >= count($this->data)) { $this->currentFile++; $this->currentIndex = 0; - printf("Rolling over to slice=%d index=%d counter=%d\n", $this->currentFile, $this->currentIndex, $this->counter); + //printf("Rolling over to slice=%d index=%d counter=%d\n", $this->currentFile, $this->currentIndex, $this->counter); } //$this->checkLoadedSlice(); @@ -89,4 +89,4 @@ class JsonReader implements ReaderInterface, Iterator return ($this->currentFile < count($this->files) && ($this->currentIndex < count($this->data))); } -} \ No newline at end of file +}