public function saveCache() { if ($this->persistentPrefix && $this->cacheIsDirty) { \Cache::put($this->cacheTransKey, $this->cache, 60 * 24 * 365); $this->cacheIsDirty = false; } }