src/Resolver/FileResolver.php
protected function setCache(string $templatePath, $template)
    {
        $cache = $this->cache->get($this->cacheKey);

        $cache[$templatePath] = $template;

        $this->cache->set($this->cacheKey, $cache);
    }
protected function setCache(string $templatePath, $template)
    {
        $cache = $this->cache->get($this->cacheKey);

        $cache[$templatePath] = $template;

        $this->cache->set($this->cacheKey, $cache);
    }
@param string $templatePath
@param        $template

@return void
@throws \Psr\SimpleCache\InvalidArgumentException