Class OpendirIterator
Provides an iterator around an opendir resource. This is useful when you need to provide context to an opendir so you can't use RecursiveDirectoryIterator
- Aws\S3\Iterator\OpendirIterator implements Iterator
Methods summary
-
public__construct ( resource $dirHandle, string $filePrefix = '' ) -
public__destruct ( ) -
publicrewind ( ) -
publiccurrent ( ) -
publicnext ( ) -
publickey ( ) -
publicvalid ( )
Methods detail
Parameters
- $dirHandle
resource
$dirHandle Opened directory handled returned from opendir- $filePrefix
string
$filePrefix Prefix to add to each filename
Implementation of
Implementation of
Implementation of
Implementation of
Implementation of
Magic methods summary
Properties summary
protected
resource
|
$dirHandle | |
protected
|
$currentFile | |
protected
integer
|
$key | |
protected
string
|
$filePrefix |