getConnection()->getDatabasePlatform()->getCurrentDateSql(); } /** * @override */ public function parse(\Doctrine\ORM\Query\Parser $parser) { $lexer = $parser->getLexer(); $parser->match($lexer->lookahead['value']); $parser->match('('); $parser->match(')'); } }