Glob

class Glob implements ValueInterface

Methods

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

ValueInterface prepend(string $expr)
ValueInterface append(string $expr)
bool isExpandable()

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

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

Details

__construct(string $pattern)

Parameters

string $pattern

string render()

Renders string representation of expression.

Return Value

string

string renderPattern()

Renders string representation of pattern.

Return Value

string

int getType()

Returns expression type.

Return Value

int

bool isCaseSensitive()

Returns value case sensitivity.

Return Value

bool

ValueInterface prepend(string $expr)

Parameters

string $expr

Return Value

ValueInterface

ValueInterface append(string $expr)

Parameters

string $expr

Return Value

ValueInterface

bool isExpandable()

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

Return Value

bool

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

Parameters

bool $strictLeadingDot
bool $strictWildcardSlash

Return Value

Regex
doc_Symfony
2016-10-28 06:19:54
Comments
Leave a Comment

Please login to continue.