code: protected function getCache(string $templatePath)
      {
          if (!$this->hasCache($templatePath)) {
              return null;
          }
          $cache = $this->cache->get($this->cacheKey);
  
          return $cache[$templatePath];
      }
docs: @param string $templatePath
  
  @return null
  @throws \Psr\SimpleCache\InvalidArgumentException