public function setCache($key, $value) {
        if($this->cacheEnabled) {
            $this->cacheObj->save($key, $value);
        }
    }
public function setCache($key, $value) {
        if($this->cacheEnabled) {
            $this->cacheObj->save($key, $value);
        }
    }
public function setCache ( $ key , $ value ) { if ( $ this -> cacheEnabled ) { $ this -> cacheObj -> save ( $ key , $ value ) ; } }
Set the cache with a key and value
@param string $key The unique key to store the value against
@param mixed $value The value of the MYSQL query
Set the cache with a key and value