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

Parameters

string $pattern

at line line 35
string render()

Renders string representation of expression.

Return Value

string

at line line 43
string renderPattern()

Renders string representation of pattern.

Return Value

string

at line line 51
int getType()

Returns expression type.

Return Value

int

at line line 59
bool isCaseSensitive()

Returns value case sensitivity.

Return Value

bool

at line line 67
ValueInterface prepend(string $expr)

Parameters

string $expr

Return Value

ValueInterface

at line line 77
ValueInterface append(string $expr)

Parameters

string $expr

Return Value

ValueInterface

at line line 89
bool isExpandable()

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

Return Value

bool

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

Parameters

bool $strictLeadingDot
bool $strictWildcardSlash

Return Value

Regex