VariationCacheFactoryInterface.php

Same filename in other branches
  1. 10 core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php

Namespace

Drupal\Core\Cache

File

core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php

View source
<?php

namespace Drupal\Core\Cache;


/**
 * An interface defining variation cache factory classes.
 */
interface VariationCacheFactoryInterface {
    
    /**
     * Gets a variation cache backend for a given cache bin.
     *
     * @param string $bin
     *   The cache bin for which a variation cache backend should be returned.
     *
     * @return \Drupal\Core\Cache\VariationCacheInterface
     *   The variation cache backend associated with the specified bin.
     */
    public function get($bin);

}

Interfaces

Title Deprecated Summary
VariationCacheFactoryInterface An interface defining variation cache factory classes.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.