You are here

public static function RenderCacheInterface::create in RESTful 7.2

Factory function to create a new RenderCacheInterface object.

Parameters

ArrayCollection $cache_fragments: The tags collection.

\DrupalCacheInterface $cache_object: The cache backend to use.

Return value

RenderCacheInterface The cache controller.

1 method overrides RenderCacheInterface::create()
RenderCache::create in src/RenderCache/RenderCache.php
Factory function to create a new RenderCacheInterface object.

File

src/RenderCache/RenderCacheInterface.php, line 27
Contains \Drupal\restful\RenderCache\RenderCacheInterface.

Class

RenderCacheInterface

Namespace

Drupal\restful\RenderCache

Code

public static function create(ArrayCollection $cache_fragments, \DrupalCacheInterface $cache_object);