__clone() 공개 메소드

Will clone all of the expression objects used in each of the clauses, as well as the valueBinder.
public __clone ( ) : void
리턴 void
예제 #1
0
파일: Query.php 프로젝트: rederlo/cakephp
 /**
  * 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;
     }
 }