<?php

namespace Helpers\Cache;

interface CacheTraitInterface
{
        
    /**
     * surchargeGetUcache
     *
     * @param  string $key
     * @return mixed
     */
    public static function surchargeGetUcache(string $key);
    
    /**
     * surchargeSetUcache
     *
     * @param  string $key
     * @param  mixed $value
     * @param  mixed $ttl
     * @return bool
     */
    public static function surchargeSetUcache(string $key, $value, $ttl = 0) : bool;
    
    /**
     * surchargeUcacheExists
     *
     * @param  string $key
     * @return bool
     */
    public static function surchargeUcacheExists(string $key);
    
    /**
     * surchargeDeleteUcache
     *
     * @param  string $key
     * @return bool
     */
    public static function surchargeDeleteUcache(string $key) : bool;
}
