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;
    }
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;
    }
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 ; }
Returns the cache stores to be used with the given definition.
@param cache_definition $definition
@return array
Returns the cache stores to be used with the given definition .