/home/techb158/ileadtechnology.com/vendor/smodav/mpesa/src/Mpesa/Contracts
Edit: /home/techb158/ileadtechnology.com/vendor/smodav/mpesa/src/Mpesa/Contracts/CacheStore.php (910B)
*/
interface CacheStore
{
/**
* Get the cache value from the store or a default value to be supplied.
*
* @param $key
* @param $default
*
* @return mixed
*/
public function get($key, $default = null);
/**
* Store an item in the cache.
*
* @param string $key
* @param mixed $value
* @param \DateTimeInterface|\DateInterval|float|int $seconds
*/
public function put($key, $value, $seconds = null);
/**
* Get the cache or default value from the store and delete it.
*
* @param $key
* @param $default
*
* @return mixed
*/
public function pull($key, $default = null);
}