コード例 #1
0
ファイル: BaseJobPeer.php プロジェクト: Halfnhav4/datawrapper
 /**
  * Clear the instance pool.
  *
  * @return void
  */
 public static function clearInstancePool($and_clear_all_references = false)
 {
     if ($and_clear_all_references) {
         foreach (JobPeer::$instances as $instance) {
             $instance->clearAllReferences(true);
         }
     }
     JobPeer::$instances = array();
 }