src/Nether/Cache.php
public function GetStats($use=null) {
	/*//
	@return array
	returns an object with the hit/miss statistics of the cache.
	//*/

		if(!$use)
		$use = Option::Get('cache-drivers-use');

		$hit = 0;
		$miss = 0;

		foreach($use as $dkey) {
			if(!array_key_exists($dkey,$this->Drivers)) continue;

			$hit += $this->Drivers[$dkey]->GetHitCount();
			$miss += $this->Drivers[$dkey]->GetMissCount();
		}

		return (object)[
			'HitCount'   => $this->HitCount,
			'MissCount'  => $this->MissCount,
			'QueryCount' => ($this->HitCount+$this->MissCount),
			'ConnectTime' => 0,
			'QueryTime' => 0
		];
	}
public function GetStats($use=null) {
	/*//
	@return array
	returns an object with the hit/miss statistics of the cache.
	//*/

		if(!$use)
		$use = Option::Get('cache-drivers-use');

		$hit = 0;
		$miss = 0;

		foreach($use as $dkey) {
			if(!array_key_exists($dkey,$this->Drivers)) continue;

			$hit += $this->Drivers[$dkey]->GetHitCount();
			$miss += $this->Drivers[$dkey]->GetMissCount();
		}

		return (object)[
			'HitCount'   => $this->HitCount,
			'MissCount'  => $this->MissCount,
			'QueryCount' => ($this->HitCount+$this->MissCount),
			'ConnectTime' => 0,
			'QueryTime' => 0
		];
	}
//////////////