common\Uri::getFilename PHP Method

getFilename() public static method

Prepares a string for a filename so that it can be used in urls.
Deprecation: use getUrl instead, it is strict enough to create valid filenames
public static getFilename ( string $value ) : string
$value string The value (without extension) that should be urlised.
return string The urlised string.
    public static function getFilename($value)
    {
        return self::getUrl($value);
    }