public function CachedStorage::__construct
public CachedStorage::__construct(StorageInterface $storage, CacheBackendInterface $cache)
Constructs a new CachedStorage.
Parameters
\Drupal\Core\Config\StorageInterface $storage: A configuration storage to be cached.
\Drupal\Core\Cache\CacheBackendInterface $cache: A cache backend used to store configuration.
File
- core/lib/Drupal/Core/Config/CachedStorage.php, line 47
Class
- CachedStorage
- Defines the cached storage.
Namespace
Drupal\Core\ConfigCode
public function __construct(StorageInterface $storage, CacheBackendInterface $cache) { $this->storage = $storage; $this->cache = $cache; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!CachedStorage.php/function/CachedStorage::__construct/8.1.x