Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-1093

EntityManager "ExpressionBuilder" instead of "Query\Expr"

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.4
    • Component/s: Documentation
    • Security Level: All
    • Labels:
      None
    • Environment:
      WampServer 2.1e on Windows XP Home SP3

      Description

      The EntityManager's method getExpressionBuilder() DocBlock states that it returns a class of "ExpressionBuilder" when it actually returns an instance of "Query\Expr". The expressionBuilder property on the EntityManager also has the "ExpressionBuilder" type.

      The ExpressionBuilder class does not exist and is making my PHP IDE (Netbeans 7 beta 2) code suggestion/completion functionality from working.

        Activity

        Hide
        beberlei Benjamin Eberlei added a comment -

        Fixed, you can use QueryBuilder->expr() aswell btw, which type hints this correctly.

        Show
        beberlei Benjamin Eberlei added a comment - Fixed, you can use QueryBuilder->expr() aswell btw, which type hints this correctly.

          People

          • Assignee:
            beberlei Benjamin Eberlei
            Reporter:
            modernapocalypse Matt Wells
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: