protected static function parseProgressBar(ProgressBarInterface $progressBar, array $args) {

        $progressBar->setAnimated(ArrayHelper::get($args, "animated", false));
        $progressBar->setContent(ArrayHelper::get($args, "content"));
        $progressBar->setMax(ArrayHelper::get($args, "max", 100));
        $progressBar->setMin(ArrayHelper::get($args, "min", 0));
        $progressBar->setStriped(ArrayHelper::get($args, "striped", false));
        $progressBar->setValue(ArrayHelper::get($args, "value", 50));

        return $progressBar;
    }