Iterator
extends FilterIterator
Table of Contents
Constants
-
PREFIX
= 0
-
SUFFIX
= 1
Properties
-
$basePath
: string
-
$exclude
: array<string|int, mixed>
-
$prefixes
: array<string|int, mixed>
-
$suffixes
: array<string|int, mixed>
Methods
-
__construct()
: mixed
-
accept()
: bool
-
acceptPath()
: bool
-
acceptPrefix()
: bool
-
acceptSubString()
: bool
-
acceptSuffix()
: bool
PREFIX
public
mixed
PREFIX
= 0
SUFFIX
public
mixed
SUFFIX
= 1
$basePath
private
string
$basePath
$exclude
private
array<string|int, mixed>
$exclude
= []
$prefixes
private
array<string|int, mixed>
$prefixes
= []
$suffixes
private
array<string|int, mixed>
$suffixes
= []
__construct()
public
__construct(string $basePath, Iterator $iterator[, array<string|int, mixed> $suffixes = [] ][, array<string|int, mixed> $prefixes = [] ][, array<string|int, mixed> $exclude = [] ]) : mixed
Parameters
-
$basePath
: string
-
-
$iterator
: Iterator
-
-
$suffixes
: array<string|int, mixed>
= []
-
-
$prefixes
: array<string|int, mixed>
= []
-
-
$exclude
: array<string|int, mixed>
= []
-
accept()
public
accept() : bool
acceptPath()
private
acceptPath(string $path) : bool
Parameters
-
$path
: string
-
acceptPrefix()
private
acceptPrefix(string $filename) : bool
Parameters
-
$filename
: string
-
acceptSubString()
private
acceptSubString(string $filename, array<string|int, mixed> $subStrings, int $type) : bool
Parameters
-
$filename
: string
-
-
$subStrings
: array<string|int, mixed>
-
-
$type
: int
-
acceptSuffix()
private
acceptSuffix(string $filename) : bool
Parameters
-
$filename
: string
-