A classe GlobIterator

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

Introdução

Itera através de um sistema de arquivos de forma semelhante ao glob().

Resumo da classe

class GlobIterator extends FilesystemIterator implements Countable {
/* Constantes herdadas */
/* Métodos */
public __construct(string $pattern, int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO)
public count(): int
/* Métodos herdados */
public SplFileInfo::getBasename(string $suffix = ""): string
public SplFileInfo::openFile(string $mode = "r", bool $useIncludePath = false, ?resource $context = null): SplFileObject
public SplFileInfo::setFileClass(string $class = SplFileObject::class): void
public SplFileInfo::setInfoClass(string $class = SplFileInfo::class): void
}

Table of Contents