TemplatesModelTemplate::renameFile
Rename a file.
Signature
public function renameFile(string
$file,
string
$nameĀ )
Parameters
-
$file
- The name and location of the old file
-
$name
- The new name of the file.
Returns
- string
- Encoded string containing the new file location.