src/AssetManager/View/Helper/Asset.php
private function elaborateFilePath($filename, $queryString)
    {
        $asset = $this->assetManagerResolver->resolve($filename);
        if ($asset !== null) {

            // append last modified date to the filepath and use a custom query string
            return $this->appendTimestamp($filename, $queryString, $asset->getLastModified());
        }

        return $filename;
    }
private function elaborateFilePath($filename, $queryString)
    {
        $asset = $this->assetManagerResolver->resolve($filename);
        if ($asset !== null) {

            // append last modified date to the filepath and use a custom query string
            return $this->appendTimestamp($filename, $queryString, $asset->getLastModified());
        }

        return $filename;
    }
private function elaborateFilePath ( $ filename , $ queryString ) { $ asset = $ this -> assetManagerResolver -> resolve ( $ filename ) ; if ( $ asset !== null ) { // append last modified date to the filepath and use a custom query string return $ this -> appendTimestamp ( $ filename , $ queryString , $ asset -> getLastModified ( ) ) ; } return $ filename ; }
find the file and if it exists, append its unix modification time to the filename

@param string $filename
@param string $queryString
@return string
find the file and if it exists append its unix modification time to the filename