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 ( )
-
public
rewind ( )
-
public
current ( )
-
public
next ( )
-
public
key ( )
-
public
valid ( )
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 |