Same name in other branches
- 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setCache()
- 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setCache()
The set cache backend.
Paramètres
\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: The AdvAgg cache.
Return value
$this This object.
Fichier
-
src/
AdvaggSettersTrait.php, line 137
Classe
- AdvaggSettersTrait
- The trait setters of ADVAGG module.
Namespace
Drupal\advaggCode
public function setCache(CacheBackendInterface $cacheBackend) {
$this->cache = $cacheBackend;
return $this;
}