original_string: public static function disable_stores() {
          // First reset to clear any static acceleration array.
          $factory = self::instance();
          $factory->reset_cache_instances();
          $factory->set_state(self::STATE_STORES_DISABLED);
      }
code: public static function disable_stores() {
          // First reset to clear any static acceleration array.
          $factory = self::instance();
          $factory->reset_cache_instances();
          $factory->set_state(self::STATE_STORES_DISABLED);
      }
code_tokens: public static function disable_stores ( ) { // First reset to clear any static acceleration array. $ factory = self :: instance ( ) ; $ factory -> reset_cache_instances ( ) ; $ factory -> set_state ( self :: STATE_STORES_DISABLED ) ; }
docstring: Disables cache stores.
  
  The cache API will continue to function however none of the actual stores will be used.
  Instead the dummy store will be provided for all cache requests.
  This is useful in situations where you cannot be sure any stores are working.
  
  In order to re-enable the cache you must call the cache factories static reset method:
  <code>
  // Disable the cache factory.
  cache_factory::disable_stores();
  // Re-enable the cache factory by resetting it.
  cache_factory::reset();
  </code>
docstring_tokens: Disables cache stores .