protected function loadCache()
	{
		if ($this->getSetting(self::SET_CACHE_RATELIMIT, false))
		{
			//  ratelimit cache enabled, try to load already existing object
			$rlc = $this->cache->load(self::CACHE_KEY_RLC);
			if ($rlc == false)
				//  nothing loaded, creating new instance
				$rlc = new RateLimitControl($this->regions);

			$this->rlc = $rlc;
		}

		if ($this->getSetting(self::SET_CACHE_CALLS, false))
		{
			//  call cache enabled, try to load already existing object
			$callCache = $this->cache->load(self::CACHE_KEY_CCC);
			if ($callCache == false)
				//  nothing loaded, creating new instance
				$callCache = new CallCacheControl();

			$this->ccc = $callCache;
		}
	}
protected function loadCache()
	{
		if ($this->getSetting(self::SET_CACHE_RATELIMIT, false))
		{
			//  ratelimit cache enabled, try to load already existing object
			$rlc = $this->cache->load(self::CACHE_KEY_RLC);
			if ($rlc == false)
				//  nothing loaded, creating new instance
				$rlc = new RateLimitControl($this->regions);

			$this->rlc = $rlc;
		}

		if ($this->getSetting(self::SET_CACHE_CALLS, false))
		{
			//  call cache enabled, try to load already existing object
			$callCache = $this->cache->load(self::CACHE_KEY_CCC);
			if ($callCache == false)
				//  nothing loaded, creating new instance
				$callCache = new CallCacheControl();

			$this->ccc = $callCache;
		}
	}
protected function loadCache ( ) { if ( $ this -> getSetting ( self :: SET_CACHE_RATELIMIT , false ) ) { //  ratelimit cache enabled, try to load already existing object $ rlc = $ this -> cache -> load ( self :: CACHE_KEY_RLC ) ; if ( $ rlc == false ) //  nothing loaded, creating new instance $ rlc = new RateLimitControl ( $ this -> regions ) ; $ this -> rlc = $ rlc ; } if ( $ this -> getSetting ( self :: SET_CACHE_CALLS , false ) ) { //  call cache enabled, try to load already existing object $ callCache = $ this -> cache -> load ( self :: CACHE_KEY_CCC ) ; if ( $ callCache == false ) //  nothing loaded, creating new instance $ callCache = new CallCacheControl ( ) ; $ this -> ccc = $ callCache ; } }
Loads required cache objects

@internal
Loads required cache objects