Private/Polyfony/Response/HTML.php
private static function getPublicAssetPath(string $asset_path, string $asset_type) :string {
		// if the asset path is absolute in any way
		return (substr($asset_path,0,1) == '/' || substr($asset_path,0,4) == 'http') ?
			// it is returned as is, // otherwise it is made relative to the Assets folder
			$asset_path : "/Assets/{$asset_type}/$asset_path";
	}
private static function getPublicAssetPath(string $asset_path, string $asset_type) :string {
		// if the asset path is absolute in any way
		return (substr($asset_path,0,1) == '/' || substr($asset_path,0,4) == 'http') ?
			// it is returned as is, // otherwise it is made relative to the Assets folder
			$asset_path : "/Assets/{$asset_type}/$asset_path";
	}
private static function getPublicAssetPath ( string $ asset_path , string $ asset_type ) : string { // if the asset path is absolute in any way return ( substr ( $ asset_path , 0 , 1 ) == '/' || substr ( $ asset_path , 0 , 4 ) == 'http' ) ? // it is returned as is, // otherwise it is made relative to the Assets folder $ asset_path : "/Assets/{$asset_type}/$asset_path" ; }
assets path converter
assets path converter