/** * {@inheritdoc} */ public function accept(CompilerInterface $compiler, Connection $connection = null) { if ($connection !== null) { $compiler->appendSql($connection->escapeLiteral($this->literal)); } else { $compiler->appendSql($this->literal); } }
/** * {@inheritdoc} */ public function accept(CompilerInterface $compiler, Connection $connection = null) { if ($connection !== null) { $compiler->appendSql($connection->escapeIdentifier($this->identifier)); } else { $compiler->appendSql($this->identifier); } }