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.

prepend(string $expr)

No description

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 line 31
__construct(string $pattern)

Parameters

string $pattern

at line line 39
string render()

Renders string representation of expression.

Return Value

string

at line line 47
string renderPattern()

Renders string representation of pattern.

Return Value

string

at line line 55
int getType()

Returns expression type.

Return Value

int

at line line 63
bool isCaseSensitive()

Returns value case sensitivity.

Return Value

bool

at line line 71
ValueInterface prepend(string $expr)

Parameters

string $expr

Return Value

ValueInterface

at line line 81
ValueInterface append(string $expr)

Parameters

string $expr

Return Value

ValueInterface

at line line 93
bool isExpandable()

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

Return Value

bool

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

Parameters

bool $strictLeadingDot
bool $strictWildcardSlash

Return Value

Regex