public function AdvaggSettersTrait::setCache in Advanced CSS/JS Aggregation 8.4
The set cache backend.
Parameters
\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: The AdvAgg cache.
Return value
$this This object.
File
- src/
AdvaggSettersTrait.php, line 137
Class
- AdvaggSettersTrait
- The trait setters of ADVAGG module.
Namespace
Drupal\advaggCode
public function setCache(CacheBackendInterface $cacheBackend) {
$this->cache = $cacheBackend;
return $this;
}