public function collectTaskFiles($source) { if (!file_exists($source)) { return []; } $finder = new Finder(); $iterator = $finder->files()->name('*' . $this->config('suffix'))->in($source); return $iterator; }