19declare(strict_types=1);
54 public function next(): void
80 $contents = $this->
filesystem->listContents($this->dir,
false);
81 $this->
files = array_combine(
82 array_map(
static fn(
Metadata $metadata):
string => $metadata->
getPath(), $contents),
92 return $this->
current()->isDir();
100 return new self($this->filesystem, $this->
current()->getPath());
__construct(private Filesystem $filesystem, protected string $dir)
RecursiveDirectoryIterator constructor.
The filesystem interface provides the public interface for the Filesystem service API consumer.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.