Zepi/Web/General/src/Manager/AssetCacheManager.php
public function getAssetUrl($type, $assetName)
    {
        $file = $this->assetManager->getAssetFile($type, $assetName);
        
        if ($file === false) {
            return;
        }
        
        $cachedFile = $this->generateCachedFile($type, $file->getFileName());
        
        return $this->getUrlToTheAssetLoader($cachedFile['file']);
    }
public function getAssetUrl($type, $assetName)
    {
        $file = $this->assetManager->getAssetFile($type, $assetName);
        
        if ($file === false) {
            return;
        }
        
        $cachedFile = $this->generateCachedFile($type, $file->getFileName());
        
        return $this->getUrlToTheAssetLoader($cachedFile['file']);
    }
public function getAssetUrl ( $ type , $ assetName ) { $ file = $ this -> assetManager -> getAssetFile ( $ type , $ assetName ) ; if ( $ file === false ) { return ; } $ cachedFile = $ this -> generateCachedFile ( $ type , $ file -> getFileName ( ) ) ; return $ this -> getUrlToTheAssetLoader ( $ cachedFile [ 'file' ] ) ; }
Returns the url for one asset.

@access public
@param string $type
@param string $assetName
@return string
Returns the url for one asset .