DoctrineExtensions\Query\Postgresql\DateFormat::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 'TO_CHAR(' . $this->dateExpression->dispatch($sqlWalker) . ', ' . $this->patternExpression->dispatch($sqlWalker) . ')';
    }
DateFormat