Ejemplo n.º 1
0
 /**
  * Clear the instance pool.
  *
  * @return void
  */
 public static function clearInstancePool($and_clear_all_references = false)
 {
     if ($and_clear_all_references) {
         foreach (TagInstancePeer::$instances as $instance) {
             $instance->clearAllReferences(true);
         }
     }
     TagInstancePeer::$instances = array();
 }