public static function clearInstancePool($and_clear_all_references = false)
    {
      if ($and_clear_all_references) {
        foreach (RemoteAppPeer::$instances as $instance) {
          $instance->clearAllReferences(true);
        }
      }
        RemoteAppPeer::$instances = array();
    }
public static function clearInstancePool($and_clear_all_references = false)
    {
      if ($and_clear_all_references) {
        foreach (RemoteAppPeer::$instances as $instance) {
          $instance->clearAllReferences(true);
        }
      }
        RemoteAppPeer::$instances = array();
    }
public static function clearInstancePool ( $ and_clear_all_references = false ) { if ( $ and_clear_all_references ) { foreach ( RemoteAppPeer :: $ instances as $ instance ) { $ instance -> clearAllReferences ( true ) ; } } RemoteAppPeer :: $ instances = array ( ) ; }
Clear the instance pool.

@return void
Clear the instance pool .