__clone() public method

Will clone all of the expression objects used in each of the clauses, as well as the valueBinder.
public __clone ( ) : void
return void
Beispiel #1
0
 /**
  * Object clone hook.
  *
  * Destroys the clones inner iterator and clones the value binder, and eagerloader instances.
  *
  * @return void
  */
 public function __clone()
 {
     parent::__clone();
     if ($this->_eagerLoader) {
         $this->_eagerLoader = clone $this->_eagerLoader;
     }
 }