You are here

public function RenderCacheBackendAdapter::__construct in Render cache 7.2

Constructs a render cache backend adapter object.

File

src/Cache/RenderCacheBackendAdapter.php, line 34
Contains \Drupal\render_cache\Cache\RenderCacheBackendAdapter

Class

RenderCacheBackendAdapter
Defines the render_cache.cache service.

Namespace

Drupal\render_cache\Cache

Code

public function __construct(RenderStackInterface $render_stack) {
  $this->renderStack = $render_stack;
}