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

$this
prepend(string $expr)

No description

$this
append(string $expr)

No description

bool
isRegex()

No description

bool
isGlob()

No description

getGlob()

No description

getRegex()

No description

Details

at line 34
static Expression create(string $expr)

Parameters

string $expr

Return Value

Expression

at line 42
__construct(string $expr)

Parameters

string $expr

at line 54
string __toString()

Return Value

string

at line 62
string render()

Renders string representation of expression.

Return Value

string

at line 70
string renderPattern()

Renders string representation of pattern.

Return Value

string

at line 78
bool isCaseSensitive()

Return Value

bool

at line 86
int getType()

Return Value

int

at line 94
$this prepend(string $expr)

Parameters

string $expr

Return Value

$this

at line 104
$this append(string $expr)

Parameters

string $expr

Return Value

$this

at line 114
bool isRegex()

Return Value

bool

at line 122
bool isGlob()

Return Value

bool

at line 132
Glob getGlob()

Return Value

Glob

Exceptions

LogicException

at line 144
Regex getRegex()

Return Value

Regex