kernel/lib/Cache/Redis.php
public function set(string $sName, $mValue, int $iFlag = 0, int $iExpire = false)
    {
        if ($iExpire === false) {

            return parent::set($sName, $mValue);
        }
        else {

            return parent::setex($sName, $iExpire, $mValue);
        }
    }
public function set(string $sName, $mValue, int $iFlag = 0, int $iExpire = false)
    {
        if ($iExpire === false) {

            return parent::set($sName, $mValue);
        }
        else {

            return parent::setex($sName, $iExpire, $mValue);
        }
    }
public function set ( string $ sName , $ mValue , int $ iFlag = 0 , int $ iExpire = false ) { if ( $ iExpire === false ) { return parent :: set ( $ sName , $ mValue ) ; } else { return parent :: setex ( $ sName , $ iExpire , $ mValue ) ; } }
set a value

@access public
@param  string $sName name of the session
@param  mixed $mValue value of this sesion var
@param  int $iFlag unused
@param  int $iExpire expiration of cache
@return \Venus\lib\Cache\Apc
set a value