/**
  * Clear the instance pool.
  *
  * @return     void
  */
 public static function clearInstancePool()
 {
     self::$instances = array();
 }
Esempio n. 2
0
 /**
  * Clear the instance pool.
  *
  * @return     void
  */
 public static function clearInstancePool()
 {
     foreach (self::$instances as $instance) {
         $instance->clearAllReferences(false);
     }
     self::$instances = array();
 }