Change-Id: I2700e4def08e58fc0bcfb709de6ce67569820fa0
* Clean up the temporary file only after an object goes out of scope
*
* @param $object Object
* Clean up the temporary file only after an object goes out of scope
*
* @param $object Object
+ * @return TempFSFile This object
*/
public function bind( $object ) {
if ( is_object( $object ) ) {
*/
public function bind( $object ) {
if ( is_object( $object ) ) {
}
$object->tempFSFileReferences[] = $this;
}
}
$object->tempFSFileReferences[] = $this;
}
}
/**
* Set flag to not clean up after the temporary file
*
}
/**
* Set flag to not clean up after the temporary file
*
+ * @return TempFSFile This object
*/
public function preserve() {
$this->canDelete = false;
*/
public function preserve() {
$this->canDelete = false;
}
/**
* Set flag clean up after the temporary file
*
}
/**
* Set flag clean up after the temporary file
*
+ * @return TempFSFile This object
*/
public function autocollect() {
$this->canDelete = true;
*/
public function autocollect() {
$this->canDelete = true;