common\Uri::getFilename PHP Метод

getFilename() публичный статический Метод

Prepares a string for a filename so that it can be used in urls.
Устаревший: 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.
Результат string The urlised string.
    public static function getFilename($value)
    {
        return self::getUrl($value);
    }