original_string: public static function get_cache_stores(cache_definition $definition) {
          $instance = cache_config::instance();
          $stores = $instance->get_stores_for_definition($definition);
          $stores = self::initialise_cachestore_instances($stores, $definition);
          return $stores;
      }
code: public static function get_cache_stores(cache_definition $definition) {
          $instance = cache_config::instance();
          $stores = $instance->get_stores_for_definition($definition);
          $stores = self::initialise_cachestore_instances($stores, $definition);
          return $stores;
      }
code_tokens: public static function get_cache_stores ( cache_definition $ definition ) { $ instance = cache_config :: instance ( ) ; $ stores = $ instance -> get_stores_for_definition ( $ definition ) ; $ stores = self :: initialise_cachestore_instances ( $ stores , $ definition ) ; return $ stores ; }
docstring: Returns the cache stores to be used with the given definition.
  @param cache_definition $definition
  @return array
docstring_tokens: Returns the cache stores to be used with the given definition .