DoctrineExtensions\Query\Oracle\ToChar::getSql PHP Method

getSql() public method

public getSql ( Doctrine\ORM\Query\SqlWalker $sqlWalker )
$sqlWalker Doctrine\ORM\Query\SqlWalker
    public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker)
    {
        return sprintf('TO_CHAR(%s, %s)', $sqlWalker->walkArithmeticPrimary($this->datetime), $sqlWalker->walkArithmeticPrimary($this->fmt));
    }