class CompositeExpression implements Expression (View source)

Expression of Expressions combined by AND or OR operation.

Constants

TYPE_AND

TYPE_OR

Methods

__construct(string $type, array $expressions)

No description

getExpressionList()

Returns the list of expressions nested in this composite.

string
getType()

No description

mixed
visit(ExpressionVisitor $visitor)

No description

Details

__construct(string $type, array $expressions)

Parameters

string $type
array $expressions

Exceptions

RuntimeException

Expression[] getExpressionList()

Returns the list of expressions nested in this composite.

Return Value

Expression[]

string getType()

Return Value

string

mixed visit(ExpressionVisitor $visitor)

Parameters

ExpressionVisitor $visitor

Return Value

mixed