You are here

public static function Criteria::expr in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php \Doctrine\Common\Collections\Criteria::expr()

Returns the expression builder.

Return value

\Doctrine\Common\Collections\ExpressionBuilder

1 call to Criteria::expr()
CriteriaTest::testExpr in vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CriteriaTest.php

File

vendor/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php, line 83

Class

Criteria
Criteria for filtering Selectable collections.

Namespace

Doctrine\Common\Collections

Code

public static function expr() {
  if (self::$expressionBuilder === null) {
    self::$expressionBuilder = new ExpressionBuilder();
  }
  return self::$expressionBuilder;
}