Method: f::convert
Convert the filename to a new extension
Info
Syntax
f::convert($name, $type='jpg')
Parameters
- $name (string) The file name
- $type (string) The new extension
Return (string)
Example
$convert = f::convert('test.txt', 'jpg');
// convert will be test.jpg