use Cubist\Util\Animations\ZipAnimation;
use Cubist\Util\Files\Files;
use Cubist\Util\Text;
+use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Log;
class Image
return self::$_imagesizeCache[$cacheKey];
}
- $res = cache()->rememberForever($cacheKey, function () use ($ext, $path) {
+ $res = Cache::rememberForever($cacheKey, function () use ($ext, $path) {
return self::_getimagesize($path, $ext);
});
if (!$res) {
- cache()->forget($cacheKey);
+ Cache::forget($cacheKey);
} else {
self::$_imagesizeCache[$cacheKey] = $res;
}