Expression
class Expression implements ValueInterface
Constants
TYPE_REGEX | |
TYPE_GLOB |
Methods
static Expression | create(string $expr) | |
__construct(string $expr) | ||
string | __toString() | |
string | render() Renders string representation of expression. | |
string | renderPattern() Renders string representation of pattern. | |
bool | isCaseSensitive() | |
int | getType() | |
ValueInterface | prepend(string $expr) | |
ValueInterface | append(string $expr) | |
bool | isRegex() | |
bool | isGlob() | |
Glob | getGlob() | |
Regex | getRegex() |
Details
static Expression create(string $expr)
Parameters
string | $expr |
Return Value
Expression |
__construct(string $expr)
Parameters
string | $expr |
string __toString()
Return Value
string |
string render()
Renders string representation of expression.
Return Value
string |
string renderPattern()
Renders string representation of pattern.
Return Value
string |
bool isCaseSensitive()
Return Value
bool |
int getType()
Return Value
int |
ValueInterface prepend(string $expr)
Parameters
string | $expr |
Return Value
ValueInterface |
ValueInterface append(string $expr)
Parameters
string | $expr |
Return Value
ValueInterface |
bool isRegex()
Return Value
bool |
bool isGlob()
Return Value
bool |
Glob getGlob()
Return Value
Glob |
Exceptions
LogicException |
Regex getRegex()
Return Value
Regex |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Finder/Expression/Expression.html