예제 #1
0
 /**
  * {@inheritDoc}
  */
 public function toString(Quoter $quoter)
 {
     $values = $this->values;
     foreach ($values as $key => $v) {
         $values[$key] = $quoter->quoteLiteral($this->type, $v);
     }
     return '(' . implode(', ', $values) . ')';
 }
예제 #2
0
파일: Literal.php 프로젝트: jivoo/data
 /**
  * {@inheritdoc}
  */
 public function toString(Quoter $quoter)
 {
     return $quoter->quoteLiteral($this->type, $this->value);
 }