original_string: protected static function parseButton(ButtonInterface $button, array $args) {
  
          $button->setActive(ArrayHelper::get($args, "active", false));
          $button->setBlock(ArrayHelper::get($args, "block", false));
          $button->setContent(ArrayHelper::get($args, "content"));
          $button->setDisabled(ArrayHelper::get($args, "disabled", false));
          $button->setSize(ArrayHelper::get($args, "size"));
          $button->setTitle(ArrayHelper::get($args, "title"));
  
          return $button;
      }
code: protected static function parseButton(ButtonInterface $button, array $args) {
  
          $button->setActive(ArrayHelper::get($args, "active", false));
          $button->setBlock(ArrayHelper::get($args, "block", false));
          $button->setContent(ArrayHelper::get($args, "content"));
          $button->setDisabled(ArrayHelper::get($args, "disabled", false));
          $button->setSize(ArrayHelper::get($args, "size"));
          $button->setTitle(ArrayHelper::get($args, "title"));
  
          return $button;
      }
code_tokens: protected static function parseButton ( ButtonInterface $ button , array $ args ) { $ button -> setActive ( ArrayHelper :: get ( $ args , "active" , false ) ) ; $ button -> setBlock ( ArrayHelper :: get ( $ args , "block" , false ) ) ; $ button -> setContent ( ArrayHelper :: get ( $ args , "content" ) ) ; $ button -> setDisabled ( ArrayHelper :: get ( $ args , "disabled" , false ) ) ; $ button -> setSize ( ArrayHelper :: get ( $ args , "size" ) ) ; $ button -> setTitle ( ArrayHelper :: get ( $ args , "title" ) ) ; return $ button ; }
docstring: Parses a button.
  
  @param ButtonInterface $button The button.
  @param array $args The arguments.
  @return ButtonInterface Returns the button.
docstring_tokens: Parses a button .