You are here

public function ExpressionBuilder::in in Plug 7

Parameters

string $field:

mixed $values:

Return value

Comparison

File

lib/doctrine/collections/lib/Doctrine/Common/Collections/ExpressionBuilder.php, line 140

Class

ExpressionBuilder
Builder for Expressions in the {@link Selectable} interface.

Namespace

Doctrine\Common\Collections

Code

public function in($field, array $values) {
  return new Comparison($field, Comparison::IN, new Value($values));
}