_stringPrimary; } /** * @override */ public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker) { //TODO: Use platform to get SQL return 'LOWER(' . $sqlWalker->walkStringPrimary($this->_stringPrimary) . ')'; } /** * @override */ public function parse(\Doctrine\ORM\Query\Parser $parser) { $lexer = $parser->getLexer(); $parser->match($lexer->lookahead['value']); $parser->match('('); $this->_stringPrimary = $parser->StringPrimary(); $parser->match(')'); } }