function MemoryBackendFactory::__construct
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/Cache/MemoryBackendFactory.php \Drupal\Core\Cache\MemoryBackendFactory::__construct()
- main core/lib/Drupal/Core/Cache/MemoryBackendFactory.php \Drupal\Core\Cache\MemoryBackendFactory::__construct()
Constructs a MemoryBackendFactory object.
Parameters
\Drupal\Component\Datetime\TimeInterface $time: The time service.
File
-
core/
lib/ Drupal/ Core/ Cache/ MemoryBackendFactory.php, line 25
Class
- MemoryBackendFactory
- Defines a memory cache backend factory.
Namespace
Drupal\Core\CacheCode
public function __construct(protected TimeInterface $time) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.