class Glob implements ValueInterface

Methods

__construct(string $pattern)

No description

string
render()

Renders string representation of expression.

string
renderPattern()

Renders string representation of pattern.

int
getType()

Returns expression type.

bool
isCaseSensitive()

Returns value case sensitivity.

$this
prepend(string $expr)

No description

$this
append(string $expr)

No description

bool
isExpandable()

Tests if glob is expandable ("*.{a,b}" syntax).

toRegex(bool $strictLeadingDot = true, bool $strictWildcardSlash = true)

No description

Details

at line 28
__construct(string $pattern)

Parameters

string $pattern

at line 36
string render()

Renders string representation of expression.

Return Value

string

at line 44
string renderPattern()

Renders string representation of pattern.

Return Value

string

at line 52
int getType()

Returns expression type.

Return Value

int

at line 60
bool isCaseSensitive()

Returns value case sensitivity.

Return Value

bool

at line 68
$this prepend(string $expr)

Parameters

string $expr

Return Value

$this

at line 78
$this append(string $expr)

Parameters

string $expr

Return Value

$this

at line 90
bool isExpandable()

Tests if glob is expandable ("*.{a,b}" syntax).

Return Value

bool

at line 102
Regex toRegex(bool $strictLeadingDot = true, bool $strictWildcardSlash = true)

Parameters

bool $strictLeadingDot
bool $strictWildcardSlash

Return Value

Regex