Documentation

Iterator extends FilterIterator
in package

Table of Contents

PREFIX  = 0
SUFFIX  = 1
$basePath  : string
$exclude  : array<string|int, mixed>
$prefixes  : array<string|int, mixed>
$suffixes  : array<string|int, mixed>
__construct()  : mixed
accept()  : bool
acceptPath()  : bool
acceptPrefix()  : bool
acceptSubString()  : bool
acceptSuffix()  : bool

Constants

Properties

$exclude

private array<string|int, mixed> $exclude = []

$prefixes

private array<string|int, mixed> $prefixes = []

$suffixes

private array<string|int, mixed> $suffixes = []

Methods

__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> = []
Return values
mixed

accept()

public accept() : bool
Return values
bool

acceptPath()

private acceptPath(string $path) : bool
Parameters
$path : string
Return values
bool

acceptPrefix()

private acceptPrefix(string $filename) : bool
Parameters
$filename : string
Return values
bool

acceptSubString()

private acceptSubString(string $filename, array<string|int, mixed> $subStrings, int $type) : bool
Parameters
$filename : string
$subStrings : array<string|int, mixed>
$type : int
Return values
bool

acceptSuffix()

private acceptSuffix(string $filename) : bool
Parameters
$filename : string
Return values
bool

Search results