src/Viserio/Component/Filesystem/Filesystem.php
public function allDirectories(string $directory): array
    {
        return \iterator_to_array(Finder::create()->directories()->in($directory), false);
    }
public function allDirectories(string $directory): array
    {
        return \iterator_to_array(Finder::create()->directories()->in($directory), false);
    }
{@inheritdoc}