src/PluginManager.php
protected function saveCache($value)
    {
        return $this->app->cache->set($this->buildCacheKey(), $this->serializer->pack($value), $this->cacheDuration);
    }
protected function saveCache($value)
    {
        return $this->app->cache->set($this->buildCacheKey(), $this->serializer->pack($value), $this->cacheDuration);
    }
Saves the $value to the cache. The key is generated with [[buildCacheKey()]].

@param $value mixed

@return bool

@see buildCacheKey()