src/CacheTrait.php
private function renderCacheGet(string $key, int $tll = null, array $tags = []) : bool
    {
        $key = self::class . ':' . $key;

        $this->renderCacheData = [
            'key' => $key,
            'cache' => self::cache(self::class)->get($key),
            'ttl' => $tll,
            'tags' => $tags,

        ];

        return $this->renderCacheData['cache'] === false ? false : true;
    }
private function renderCacheGet(string $key, int $tll = null, array $tags = []) : bool
    {
        $key = self::class . ':' . $key;

        $this->renderCacheData = [
            'key' => $key,
            'cache' => self::cache(self::class)->get($key),
            'ttl' => $tll,
            'tags' => $tags,

        ];

        return $this->renderCacheData['cache'] === false ? false : true;
    }
@param string $key
@param int $tll
@param array $tags

@return bool