public function clearExpired()
    {
        if ($this->options['cache']) {
            $keys = Ioc::cache($this->options['name'])->clearExpired();
        }
        
        return ErrorInfo::success($this->options['name'] . ' clear success: ' . $count . ' items');
    }
public function clearExpired()
    {
        if ($this->options['cache']) {
            $keys = Ioc::cache($this->options['name'])->clearExpired();
        }
        
        return ErrorInfo::success($this->options['name'] . ' clear success: ' . $count . ' items');
    }
public function clearExpired ( ) { if ( $ this -> options [ 'cache' ] ) { $ keys = Ioc :: cache ( $ this -> options [ 'name' ] ) -> clearExpired ( ) ; } return ErrorInfo :: success ( $ this -> options [ 'name' ] . ' clear success: ' . $ count . ' items' ) ; }
clear expired token

@return \Wslim\Common\ErrorInfo
clear expired token