src/components/FileStorage.php
protected function getTemporaryViewUrl($filename)
    {
        return Url::to([$this->temporaryViewRoute, 'filename' => $filename, 'key' => $this->buildHash($filename)], true);
    }
protected function getTemporaryViewUrl($filename)
    {
        return Url::to([$this->temporaryViewRoute, 'filename' => $filename, 'key' => $this->buildHash($filename)], true);
    }
protected function getTemporaryViewUrl ( $ filename ) { return Url :: to ( [ $ this -> temporaryViewRoute , 'filename' => $ filename , 'key' => $ this -> buildHash ( $ filename ) ] , true ) ; }
Return URL to the route that provides access to the temporary file.
@param string $filename the file name
@return string URL
@see temporaryViewRoute
Return URL to the route that provides access to the temporary file .