Skip to content


DDC-998: Code example for custom AST functions incorrect #5533

doctrinebot opened this Issue · 0 comments

2 participants


Jira issue originally created by user felicitus:

On the code example is slightly incorrect.


  • Lexer::TABS doesn't exist anymore, I assume Lexer::TIDENTIFIER is what one wants to use
  • Missing use for \Doctrine\ORM\Query\Lexer

Additionally, the section should tell the user that he best has a look at lib/Doctrine/ORM/Query/AST/Functions/* to learn how to write custom functions. It also could be noted that stored procedures can be called with custom functions.

@beberlei beberlei was assigned by doctrinebot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.