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"]);
    }