class QueryExpressionVisitor extends ExpressionVisitor (View source)

Converts Collection expressions to Query expressions.

Methods

__construct(string $rootAlias)

Constructor

Collection
getParameters()

Gets bound parameters.

void
clearParameters()

Clears parameters.

walkCompositeExpression(CompositeExpression $expr)

{@inheritDoc}

walkComparison(Comparison $comparison)

{@inheritDoc}

walkValue(Value $value)

{@inheritDoc}

Details

__construct(string $rootAlias)

Constructor

Parameters

string $rootAlias

Collection getParameters()

Gets bound parameters.

Filled after {@link dispach()}.

Return Value

Collection

void clearParameters()

Clears parameters.

Return Value

void

walkCompositeExpression(CompositeExpression $expr)

{@inheritDoc}

Parameters

CompositeExpression $expr

walkComparison(Comparison $comparison)

{@inheritDoc}

Parameters

Comparison $comparison

walkValue(Value $value)

{@inheritDoc}

Parameters

Value $value