Walks an expression graph and turns it into a PHP closure.
This closure can be used with {@Collection#filter()} and is used internally by {@ArrayCollection#select()}.
@author Benjamin Eberlei <kontakt@beberlei.de> @since 2.3
Expanded class hierarchy of ClosureExpressionVisitor
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClosureExpressionVisitor:: |
private | function | ||
ClosureExpressionVisitor:: |
public static | function | Access the field of a given object. This field has to be public directly or indirectly (through an accessor get* or a magic method, __get, __call). | |
ClosureExpressionVisitor:: |
private | function | ||
ClosureExpressionVisitor:: |
public static | function | Helper for sorting arrays of objects based on multiple fields + orientations. | |
ClosureExpressionVisitor:: |
public | function |
Convert a comparison expression into the target query language output Overrides ExpressionVisitor:: |
|
ClosureExpressionVisitor:: |
public | function |
Convert a composite expression into the target query language output Overrides ExpressionVisitor:: |
|
ClosureExpressionVisitor:: |
public | function |
Convert a value expression into the target query language part. Overrides ExpressionVisitor:: |
|
ExpressionVisitor:: |
public | function | Dispatch walking an expression to the appropriate handler. |