public function refreshData($token, $data=null)
    {
        $key = $token;
        
        if ($key) {
            $data = static::formatData($data);
            
            $sdata = static::getStorage()->get($key);
            
            if ($sdata) {
                $data = array_merge($sdata, $data);
            }
            
            $data['_expire_time_'] = time() + static::getExpire();
            
            static::getStorage()->set($key, $data);
        }
    }
public function refreshData($token, $data=null)
    {
        $key = $token;
        
        if ($key) {
            $data = static::formatData($data);
            
            $sdata = static::getStorage()->get($key);
            
            if ($sdata) {
                $data = array_merge($sdata, $data);
            }
            
            $data['_expire_time_'] = time() + static::getExpire();
            
            static::getStorage()->set($key, $data);
        }
    }
public function refreshData ( $ token , $ data = null ) { $ key = $ token ; if ( $ key ) { $ data = static :: formatData ( $ data ) ; $ sdata = static :: getStorage ( ) -> get ( $ key ) ; if ( $ sdata ) { $ data = array_merge ( $ sdata , $ data ) ; } $ data [ '_expire_time_' ] = time ( ) + static :: getExpire ( ) ; static :: getStorage ( ) -> set ( $ key , $ data ) ; } }
refresh token rel data
@param  string $token
@param  mixed $data
@return void
refresh token rel data