public function RenderCacheBackendAdapterInterface::cache in Render cache 7.2
Retrieves the Drupal 7 cache object for the given bin.
Parameters
string $bin: The cache bin to retrieve a cache object for.
Return value
\DrupalCacheInterface The Drupal 7 cache object.
1 method overrides RenderCacheBackendAdapterInterface::cache()
- RenderCacheBackendAdapter::cache in src/
Cache/ RenderCacheBackendAdapter.php - Retrieves the Drupal 7 cache object for the given bin.
File
- src/
Cache/ RenderCacheBackendAdapterInterface.php, line 34 - Contains \Drupal\render_cache\Cache\RenderCacheBackendAdapterInterface
Class
- RenderCacheBackendAdapterInterface
- Defines an interface for the render cache backend adapter.
Namespace
Drupal\render_cache\CacheCode
public function cache($bin = 'cache');