protected $cacheFactory;
/**
- * @var array Registered Caches
+ * @var array
*/
protected $caches = array();
+ /**
+ * @var array
+ */
protected $cacheConfigurations = array(
'default' => array(
'frontend' => 't3lib_cache_frontend_VariableFrontend',
* @param array The cache configurations to set
* @return void
* @author Robert Lemke <robert@typo3.org>
+ * @internal
*/
public function setCacheConfigurations(array $cacheConfigurations) {
foreach ($cacheConfigurations as $identifier => $configuration) {
* @return void
* @author Robert Lemke <robert@typo3.org>
* @author Ingo Renner <ingo@typo3.org>
+ * @internal
*/
public function setCacheFactory(t3lib_cache_Factory $cacheFactory) {
$this->cacheFactory = $cacheFactory;
*
* @return void
* @author Robert Lemke <robert@typo3.org>
+ * @internal
*/
public function initialize() {
foreach ($this->cacheConfigurations as $identifier => $configuration) {
* @param string Identifies which cache to return
* @return t3lib_cache_frontend_Cache The specified cache frontend
* @throws t3lib_cache_exception_NoSuchCache
+ * @author Robert Lemke <robert@typo3.org>
*/
public function getCache($identifier) {
if (!isset($this->caches[$identifier])) {