/** * Traverses the file to build the Index */ private function rebuildIndex() { $this->index = new ArrayCollection($this->file->buildIndex()); }