function FileParsingCacheCollectorBase::__construct
Same name and namespace in other branches
- main core/lib/Drupal/Core/Utility/FileParsingCacheCollectorBase.php \Drupal\Core\Utility\FileParsingCacheCollectorBase::__construct()
Constructs a CacheCollector object.
Parameters
string $cid: The cid for the array being cached.
\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend.
\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend.
array $tags: (optional) The tags to specify for the cache item.
Overrides CacheCollector::__construct
File
-
core/
lib/ Drupal/ Core/ Utility/ FileParsingCacheCollectorBase.php, line 17
Class
- FileParsingCacheCollectorBase
- Caches file parsing in a cache collector.
Namespace
Drupal\Core\UtilityCode
public function __construct($cid, CacheBackendInterface $cache, LockBackendInterface $lock, protected TimeInterface $time, array $tags = []) {
parent::__construct($cid, $cache, $lock, $tags);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.