Yab\Quarx\Services\FileService::fileAsDownload PHP 메소드

fileAsDownload() 공개 정적인 메소드

Provides a URL for the file as a download.
public static fileAsDownload ( string $fileName, string $realFileName ) : string
$fileName string File name
$realFileName string Real file name
리턴 string
    public static function fileAsDownload($fileName, $realFileName)
    {
        return url('public-download/' . CryptoServiceForFiles::url_encode($fileName) . '/' . CryptoServiceForFiles::url_encode($realFileName));
    }