original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Internal helper, attaches a build code to an asset path
  @param  array $asset Stored asset array
  @return string
docstring_tokens: Internal helper attaches a build code to an asset path