/** * Actually fetch the listing and return it. * * @param string $path * * @return Directory[]|File[] */ protected function doFetch($path) { return $this->filesystem->listContents($path); }