code: protected function setCache(string $templatePath, $template)
      {
          $cache = $this->cache->get($this->cacheKey);
  
          $cache[$templatePath] = $template;
  
          $this->cache->set($this->cacheKey, $cache);
      }
docs: @param string $templatePath
  @param        $template
  
  @return void
  @throws \Psr\SimpleCache\InvalidArgumentException