46 public function has($id)
48 return isset($this->level1Cache[$id]) || $this->level2Cache->has($id);
57 public function get($id)
59 if (!isset($this->level1Cache[$id])) {
60 $this->level1Cache[$id] = $this->level2Cache->get($id);
62 return $this->level1Cache[$id];
71 public function set($id, $value)
73 $this->level1Cache[$id] = $value;
74 $this->level2Cache->set($id, $value);
82 $this->level2Cache = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Cache\CacheManager::class)->getCache(
'extbase_object');