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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Finder/Expression/Glob.html