class Expression implements ValueInterface

Constants

TYPE_REGEX

TYPE_GLOB

Methods

static Expression
create(string $expr)

No description

__construct(string $expr)

No description

string
__toString()

No description

string
render()

Renders string representation of expression.

string
renderPattern()

Renders string representation of pattern.

bool
isCaseSensitive()

No description

int
getType()

No description

prepend(string $expr)

No description

append(string $expr)

No description

bool
isRegex()

No description

bool
isGlob()

No description

getGlob()

No description

getRegex()

No description

Details

at line line 32
static Expression create(string $expr)

Parameters

string $expr

Return Value

Expression

at line line 40
__construct(string $expr)

Parameters

string $expr

at line line 52
string __toString()

Return Value

string

at line line 60
string render()

Renders string representation of expression.

Return Value

string

at line line 68
string renderPattern()

Renders string representation of pattern.

Return Value

string

at line line 76
bool isCaseSensitive()

Return Value

bool

at line line 84
int getType()

Return Value

int

at line line 92
ValueInterface prepend(string $expr)

Parameters

string $expr

Return Value

ValueInterface

at line line 102
ValueInterface append(string $expr)

Parameters

string $expr

Return Value

ValueInterface

at line line 112
bool isRegex()

Return Value

bool

at line line 120
bool isGlob()

Return Value

bool

at line line 130
Glob getGlob()

Return Value

Glob

Exceptions

LogicException

at line line 142
Regex getRegex()

Return Value

Regex