private static function putContents($fh,FileSystemCacheValue $data) {
		try{
			fwrite($fh,serialize($data));
			fflush($fh);
		} catch (\Exception $ex){}

		//release lock
		self::closeFile($fh);

		return true;
	}
private static function putContents($fh,FileSystemCacheValue $data) {
		try{
			fwrite($fh,serialize($data));
			fflush($fh);
		} catch (\Exception $ex){}

		//release lock
		self::closeFile($fh);

		return true;
	}
private static function putContents ( $ fh , FileSystemCacheValue $ data ) { try { fwrite ( $ fh , serialize ( $ data ) ) ; fflush ( $ fh ) ; } catch ( \ Exception $ ex ) { } //release lock self :: closeFile ( $ fh ) ; return true ; }
Writes to a file.  Also closes and releases any locks on the file.
@param resource $fh The file handle
@param FileSystemCacheValue $data The cache value to store in the file.
@return boolean True on success.  Currently, never returns false.
Writes to a file . Also closes and releases any locks on the file .