Fixed doc block on Filesystem::rename
| Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | -
This commit is contained in:
parent
8d2cda3395
commit
9527001399
@ -234,13 +234,13 @@ class Filesystem
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Renames a file.
|
* Renames a file or a directory.
|
||||||
*
|
*
|
||||||
* @param string $origin The origin filename
|
* @param string $origin The origin filename or directory
|
||||||
* @param string $target The new filename
|
* @param string $target The new filename or directory
|
||||||
* @param Boolean $overwrite Whether to overwrite the target if it already exists
|
* @param Boolean $overwrite Whether to overwrite the target if it already exists
|
||||||
*
|
*
|
||||||
* @throws IOException When target file already exists
|
* @throws IOException When target file or directory already exists
|
||||||
* @throws IOException When origin cannot be renamed
|
* @throws IOException When origin cannot be renamed
|
||||||
*/
|
*/
|
||||||
public function rename($origin, $target, $overwrite = false)
|
public function rename($origin, $target, $overwrite = false)
|
||||||
|
Reference in New Issue
Block a user