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