You are here

public function ExpressionBuilder::neq in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/collections/lib/Doctrine/Common/Collections/ExpressionBuilder.php \Doctrine\Common\Collections\ExpressionBuilder::neq()

Parameters

string $field:

mixed $value:

Return value

Comparison

File

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

Class

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

Namespace

Doctrine\Common\Collections

Code

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