FileSystem
extends FilesystemIterator
in package
Class \Hoa\Iterator\FileSystem.
Extending the SPL FileSystemIterator class.
Tags
Table of Contents
Properties
- $_splFileInfoClass : string
- SplFileInfo classname.
Methods
- __construct() : mixed
- Constructor.
- current() : mixed
- Current.
Properties
$_splFileInfoClass
SplFileInfo classname.
protected
string
$_splFileInfoClass
= null
Methods
__construct()
Constructor.
public
__construct(string $path[, int $flags = null ][, string $splFileInfoClass = null ]) : mixed
Please, see \FileSystemIterator::__construct() method. We add the $splFileInfoClass parameter.
Parameters
- $path : string
-
Path.
- $flags : int = null
-
Flags.
- $splFileInfoClass : string = null
-
SplFileInfo classname.
current()
Current.
public
current() : mixed
Please, see \FileSystemIterator::current() method.