src/Resolver/FileResolver.php
protected function getCache(string $templatePath)
    {
        if (!$this->hasCache($templatePath)) {
            return null;
        }
        $cache = $this->cache->get($this->cacheKey);

        return $cache[$templatePath];
    }
protected function getCache(string $templatePath)
    {
        if (!$this->hasCache($templatePath)) {
            return null;
        }
        $cache = $this->cache->get($this->cacheKey);

        return $cache[$templatePath];
    }
@param string $templatePath

@return null
@throws \Psr\SimpleCache\InvalidArgumentException