/** * @param Button $button * @return string */ protected function renderButton(Button $button) { return sprintf(self::FORMAT_BUTTON, $button->getFullId(), $button->getType(), $button->getCssClass(), $button->getFullName(), $button->getInputValue(), $button->getHtmlAttributesAsString(), $button->getId()); }