public function put($data)
    {
        file_put_contents($this->path, $data);
        clearstatcache(true, $this->path);

        return $this->getETag();
    }
public function put($data)
    {
        file_put_contents($this->path, $data);
        clearstatcache(true, $this->path);

        return $this->getETag();
    }
public function put ( $ data ) { file_put_contents ( $ this -> path , $ data ) ; clearstatcache ( true , $ this -> path ) ; return $ this -> getETag ( ) ; }
Updates the data.

Data is a readable stream resource.

@param resource|string $data

@return string
Updates the data .