public function ExpressionBuilder::eq

Parameters

string $field:

mixed $value:

Return value

Comparison

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/ExpressionBuilder.php, line 56

Class

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

Namespace

Doctrine\Common\Collections

Code

public function eq($field, $value) {
  return new Comparison($field, Comparison::EQ, new Value($value));
}