SilverStripe\Assets\File::renameFile
Rename this file.
Note: This method will immediately save to the database to maintain filesystem consistency with the database.
Signature
public function renameFile(string
$newName )
Parameters
$newName
— string
Returns
- string