public function set($key, $data) {
        if ($this->persist) {
            $this->store[$key] = $data;
        }
        return true;
    }
public function set($key, $data) {
        if ($this->persist) {
            $this->store[$key] = $data;
        }
        return true;
    }
public function set ( $ key , $ data ) { if ( $ this -> persist ) { $ this -> store [ $ key ] = $ data ; } return true ; }
Sets an item in the cache
@param string $key
@param mixed $data
@return bool
Sets an item in the cache