public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker) { return 'TO_CHAR(' . $this->dateExpression->dispatch($sqlWalker) . ', ' . $this->patternExpression->dispatch($sqlWalker) . ')'; }