php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
GlobIterator Class Reference
Inheritance diagram for GlobIterator:
FilesystemIterator Countable DirectoryIterator SplFileInfo SeekableIterator Stringable Iterator Traversable

Public Member Functions

 __construct (string $pattern, int $flags=FilesystemIterator::KEY_AS_PATHNAME|FilesystemIterator::CURRENT_AS_FILEINFO)
 
 count ()
 
- Public Member Functions inherited from FilesystemIterator
 rewind ()
 
 key ()
 
 current ()
 
 getFlags ()
 
 setFlags (int $flags)
 
- Public Member Functions inherited from DirectoryIterator
 __construct (string $directory)
 
 getFilename ()
 
 getExtension ()
 
 getBasename (string $suffix="")
 
 isDot ()
 
 valid ()
 
 next ()
 
 seek (int $offset)
 
 __toString ()
 
- Public Member Functions inherited from SplFileInfo
 getPath ()
 
 getPathname ()
 
 getPerms ()
 
 getInode ()
 
 getSize ()
 
 getOwner ()
 
 getGroup ()
 
 getATime ()
 
 getMTime ()
 
 getCTime ()
 
 getType ()
 
 isWritable ()
 
 isReadable ()
 
 isExecutable ()
 
 isFile ()
 
 isDir ()
 
 isLink ()
 
 getLinkTarget ()
 
 getRealPath ()
 
 getFileInfo (?string $class=null)
 
 getPathInfo (?string $class=null)
 
 openFile (string $mode="r", bool $useIncludePath=false, $context=null)
 
 setFileClass (string $class=SplFileObject::class)
 
 setInfoClass (string $class=SplFileInfo::class)
 
 __debugInfo ()
 
 _bad_state_ex ()
 

Additional Inherited Members

- Data Fields inherited from FilesystemIterator
const int CURRENT_MODE_MASK = UNKNOWN
 
const int CURRENT_AS_PATHNAME = UNKNOWN
 
const int CURRENT_AS_FILEINFO = UNKNOWN
 
const int CURRENT_AS_SELF = UNKNOWN
 
const int KEY_MODE_MASK = UNKNOWN
 
const int KEY_AS_PATHNAME = UNKNOWN
 
const int FOLLOW_SYMLINKS = UNKNOWN
 
const int KEY_AS_FILENAME = UNKNOWN
 
const int NEW_CURRENT_AND_KEY = UNKNOWN
 
const int OTHER_MODE_MASK = UNKNOWN
 
const int SKIP_DOTS = UNKNOWN
 
const int UNIX_PATHS = UNKNOWN
 

Detailed Description

Definition at line 214 of file spl_directory.stub.php.

Constructor & Destructor Documentation

◆ __construct()

GlobIterator::__construct ( string $pattern,
int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO )

Reimplemented from FilesystemIterator.

Definition at line 216 of file spl_directory.stub.php.

Member Function Documentation

◆ count()

GlobIterator::count ( )

@tentative-return-type

Implements Countable.

Definition at line 219 of file spl_directory.stub.php.


The documentation for this class was generated from the following file: