예제 #1
0
 /**
  * Cleanup Query resource when clone is called.
  *
  * @return void
  */
 public function __clone()
 {
     parent::__clone();
     $this->_state = self::STATE_DIRTY;
 }
예제 #2
0
 /**
  * Deep clone of all expression objects in the SQL parts.
  *
  * @return void
  */
 public function __clone()
 {
     parent::__clone();
     $this->qb = clone $this->qb;
 }