<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Cache; use Illuminate\Support\Facades\Cache; class CacheUtil { private static function client() { return Cache::store(); } public static function rememberForever($PeAfP, $TIlpS) { return self::client()->rememberForever($PeAfP, $TIlpS); } public static function remember($PeAfP, $eufAu, $TIlpS) { return self::client()->remember($PeAfP, intval($eufAu / 60), $TIlpS); } public static function forget($PeAfP) { return self::client()->forget($PeAfP); } public static function get($PeAfP) { return self::client()->get($PeAfP); } public static function put($PeAfP, $DiI0O, $eufAu) { self::client()->put($PeAfP, $DiI0O, ceil($eufAu / 60)); } public static function forever($PeAfP, $DiI0O) { self::client()->forever($PeAfP, $DiI0O); } }