protected function getAssetEntryBuildPath($asset)
    {
        $path = $asset['path'];
        if (isset($asset['attributes']['build'])) {
            $build = $asset['attributes']['build'];

            if ($build == 'core') {
                $build = 'v' . Parameter::get('system::core.build', 1);
            }
            elseif ($pluginVersion = PluginVersion::getVersion($build)) {
                $build = 'v' . $pluginVersion;
            }

            $path .= '?' . $build;
        }

        return $path;
    }
protected function getAssetEntryBuildPath($asset)
    {
        $path = $asset['path'];
        if (isset($asset['attributes']['build'])) {
            $build = $asset['attributes']['build'];

            if ($build == 'core') {
                $build = 'v' . Parameter::get('system::core.build', 1);
            }
            elseif ($pluginVersion = PluginVersion::getVersion($build)) {
                $build = 'v' . $pluginVersion;
            }

            $path .= '?' . $build;
        }

        return $path;
    }
protected function getAssetEntryBuildPath ( $ asset ) { $ path = $ asset [ 'path' ] ; if ( isset ( $ asset [ 'attributes' ] [ 'build' ] ) ) { $ build = $ asset [ 'attributes' ] [ 'build' ] ; if ( $ build == 'core' ) { $ build = 'v' . Parameter :: get ( 'system::core.build' , 1 ) ; } elseif ( $ pluginVersion = PluginVersion :: getVersion ( $ build ) ) { $ build = 'v' . $ pluginVersion ; } $ path .= '?' . $ build ; } return $ path ; }
Internal helper, attaches a build code to an asset path
@param  array $asset Stored asset array
@return string
Internal helper attaches a build code to an asset path