protected function putData($file, $path, $data) {
		fseek($file, self::DATA_OFFSET);
		
		if (fwrite($file, serialize($data)) === false) {
			fclose($file);
			throw new OperationFailed('Unable to puth the cache content to: ' . $path);
		}
		
		ftruncate($file, ftell($file));
		fclose($file);
	}
protected function putData($file, $path, $data) {
		fseek($file, self::DATA_OFFSET);
		
		if (fwrite($file, serialize($data)) === false) {
			fclose($file);
			throw new OperationFailed('Unable to puth the cache content to: ' . $path);
		}
		
		ftruncate($file, ftell($file));
		fclose($file);
	}
protected function putData ( $ file , $ path , $ data ) { fseek ( $ file , self :: DATA_OFFSET ) ; if ( fwrite ( $ file , serialize ( $ data ) ) === false ) { fclose ( $ file ) ; throw new OperationFailed ( 'Unable to puth the cache content to: ' . $ path ) ; } ftruncate ( $ file , ftell ( $ file ) ) ; fclose ( $ file ) ; }
Put the cache data

@param resource $file
@param strng    $path
@param mixed    $data
Put the cache data