Doctrine 2 - ORM

Code example for custom AST functions incorrect