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