protected function getSavedChunksFiles()
    {
        $chunkFileName = preg_replace(
            "/\.[\d]+\.".ChunkStorage::CHUNK_EXTENSION.'$/', '', $this->handler()->getChunkFileName()
        );

        return $this->chunkStorage->files(function ($file) use ($chunkFileName) {
            return false === str_contains($file, $chunkFileName);
        });
    }
protected function getSavedChunksFiles()
    {
        $chunkFileName = preg_replace(
            "/\.[\d]+\.".ChunkStorage::CHUNK_EXTENSION.'$/', '', $this->handler()->getChunkFileName()
        );

        return $this->chunkStorage->files(function ($file) use ($chunkFileName) {
            return false === str_contains($file, $chunkFileName);
        });
    }
protected function getSavedChunksFiles ( ) { $ chunkFileName = preg_replace ( "/\.[\d]+\." . ChunkStorage :: CHUNK_EXTENSION . '$/' , '' , $ this -> handler ( ) -> getChunkFileName ( ) ) ; return $ this -> chunkStorage -> files ( function ( $ file ) use ( $ chunkFileName ) { return false === str_contains ( $ file , $ chunkFileName ) ; } ) ; }
Searches for all chunk files.

@return \Illuminate\Support\Collection
Searches for all chunk files .