f::convert PHP Method

convert() static public method

Convert the filename to a new extension
static public convert ( string $name, string $type = 'jpg' ) : string
$name string The file name
$type string The new extension
return string
    static function convert($name, $type = 'jpg')
    {
        return self::name($name) . $type;
    }