public function getUrl (string $assetPath) : string
    {
        return $this->assetUrl->generateUrl(
            Asset::createFromAssetPath($assetPath)
        );
    }
public function getUrl (string $assetPath) : string
    {
        return $this->assetUrl->generateUrl(
            Asset::createFromAssetPath($assetPath)
        );
    }
public function getUrl ( string $ assetPath ) : string { return $ this -> assetUrl -> generateUrl ( Asset :: createFromAssetPath ( $ assetPath ) ) ; }
Gets the asset URL for the given asset path

@api
@param string $assetPath
@return string
@throws AssetsException
Gets the asset URL for the given asset path