original_string: protected function bootstrapProgressBar(ProgressBarInterface $progressBar) {
  
          $span = static::coreHTMLElement("span", $progressBar->getValue() . "%", ["class" => "sr-only"]);
  
          $attributes = [];
  
          $attributes["class"]         = ["progress-bar", ProgressBarRenderer::renderType($progressBar)];
          $attributes["class"][]       = ProgressBarRenderer::renderStriped($progressBar);
          $attributes["class"][]       = ProgressBarRenderer::renderAnimated($progressBar);
          $attributes["style"]         = ProgressBarRenderer::renderStyle($progressBar);
          $attributes["role"]          = "progressbar";
          $attributes["aria-valuenow"] = $progressBar->getValue();
          $attributes["aria-valuemin"] = $progressBar->getMin();
          $attributes["aria-valuemax"] = $progressBar->getMax() . "%";
  
          $innerHTML = ProgressBarRenderer::renderContent($progressBar, $span);
  
          $div = static::coreHTMLElement("div", $innerHTML, $attributes);
  
          return static::coreHTMLElement("div", $div, ["class" => "progress"]);
      }
code: protected function bootstrapProgressBar(ProgressBarInterface $progressBar) {
  
          $span = static::coreHTMLElement("span", $progressBar->getValue() . "%", ["class" => "sr-only"]);
  
          $attributes = [];
  
          $attributes["class"]         = ["progress-bar", ProgressBarRenderer::renderType($progressBar)];
          $attributes["class"][]       = ProgressBarRenderer::renderStriped($progressBar);
          $attributes["class"][]       = ProgressBarRenderer::renderAnimated($progressBar);
          $attributes["style"]         = ProgressBarRenderer::renderStyle($progressBar);
          $attributes["role"]          = "progressbar";
          $attributes["aria-valuenow"] = $progressBar->getValue();
          $attributes["aria-valuemin"] = $progressBar->getMin();
          $attributes["aria-valuemax"] = $progressBar->getMax() . "%";
  
          $innerHTML = ProgressBarRenderer::renderContent($progressBar, $span);
  
          $div = static::coreHTMLElement("div", $innerHTML, $attributes);
  
          return static::coreHTMLElement("div", $div, ["class" => "progress"]);
      }
code_tokens: protected function bootstrapProgressBar ( ProgressBarInterface $ progressBar ) { $ span = static :: coreHTMLElement ( "span" , $ progressBar -> getValue ( ) . "%" , [ "class" => "sr-only" ] ) ; $ attributes = [ ] ; $ attributes [ "class" ] = [ "progress-bar" , ProgressBarRenderer :: renderType ( $ progressBar ) ] ; $ attributes [ "class" ] [ ] = ProgressBarRenderer :: renderStriped ( $ progressBar ) ; $ attributes [ "class" ] [ ] = ProgressBarRenderer :: renderAnimated ( $ progressBar ) ; $ attributes [ "style" ] = ProgressBarRenderer :: renderStyle ( $ progressBar ) ; $ attributes [ "role" ] = "progressbar" ; $ attributes [ "aria-valuenow" ] = $ progressBar -> getValue ( ) ; $ attributes [ "aria-valuemin" ] = $ progressBar -> getMin ( ) ; $ attributes [ "aria-valuemax" ] = $ progressBar -> getMax ( ) . "%" ; $ innerHTML = ProgressBarRenderer :: renderContent ( $ progressBar , $ span ) ; $ div = static :: coreHTMLElement ( "div" , $ innerHTML , $ attributes ) ; return static :: coreHTMLElement ( "div" , $ div , [ "class" => "progress" ] ) ; }
docstring: Displays a Bootstrap progress bar.
  
  @param ProgressBarInterface $progressBar The progress bar.
  @return string Returns the Bootstrap progress bar.
docstring_tokens: Displays a Bootstrap progress bar .