original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Parses a progress bar.
  
  @param ProgressBarInterface $progressBar The progress bar.
  @param array $args The arguments.
  @return ProgressBarInterface Returns the progress bar.
docstring_tokens: Parses a progress bar .