}
/**
- * @param string $newname
- * @param bool $open
+ * @inheritDoc
*/
function closeAndRename( $newname, $open = false ) {
$newname = $this->checkRenameArgCount( $newname );
}
/**
- * @param string $newname
+ * @inheritDoc
*/
function closeRenameAndReopen( $newname ) {
$this->closeAndRename( $newname, true );
}
/**
- * @param string $newname
- * @param bool $open
+ * @inheritDoc
*/
function closeAndRename( $newname, $open = false ) {
$newname = $this->checkRenameArgCount( $newname );
}
/**
- * @param string $newname
+ * @see DumpOutput::closeRenameAndReopen()
+ * @param string|string[] $newname
*/
function closeRenameAndReopen( $newname ) {
$this->sink->closeRenameAndReopen( $newname );
}
/**
- * @param string $newname
+ * @see DumpOutput::closeAndRename()
+ * @param string|string[] $newname
* @param bool $open
*/
function closeAndRename( $newname, $open = false ) {
* and reopen new file with the old name. Use this
* for writing out a file in multiple pieces
* at specified checkpoints (e.g. every n hours).
- * @param string|array $newname File name. May be a string or an array with one element
+ * @param string|string[] $newname File name. May be a string or an array with one element
*/
function closeRenameAndReopen( $newname ) {
}
* Close the old file, and move it to a specified name.
* Use this for the last piece of a file written out
* at specified checkpoints (e.g. every n hours).
- * @param string|array $newname File name. May be a string or an array with one element
+ * @param string|string[] $newname File name. May be a string or an array with one element
* @param bool $open If true, a new file with the old filename will be opened
* again for writing (default: false)
*/
}
/**
- * @param string $newname
+ * @inheritDoc
*/
function closeRenameAndReopen( $newname ) {
$this->closeAndRename( $newname, true );
}
/**
- * @param string $newname
- * @param bool $open
+ * @inheritDoc
*/
function closeAndRename( $newname, $open = false ) {
$newname = $this->checkRenameArgCount( $newname );