private function rollbackOpeningFile($temp_file = null)
    {
        flock($this->getFile(), LOCK_UN);
        fclose($this->getFile());
        if(is_resource($temp_file))
        {
            fclose($temp_file);
            unlink($this->getTempFilePath());
        }
    }
private function rollbackOpeningFile($temp_file = null)
    {
        flock($this->getFile(), LOCK_UN);
        fclose($this->getFile());
        if(is_resource($temp_file))
        {
            fclose($temp_file);
            unlink($this->getTempFilePath());
        }
    }
private function rollbackOpeningFile ( $ temp_file = null ) { flock ( $ this -> getFile ( ) , LOCK_UN ) ; fclose ( $ this -> getFile ( ) ) ; if ( is_resource ( $ temp_file ) ) { fclose ( $ temp_file ) ; unlink ( $ this -> getTempFilePath ( ) ) ; } }
Used only when failed to open temp file in OpenFile
@param resource|null $temp_file
@return void
Used only when failed to open temp file in OpenFile