src/View/Helper/FormHelper.php
public function append($input, $append) {
        $append = $this->_wrapInputGroup($append);
        if ($input === null) {
            return $this->formatTemplate('inputGroupEnd', ['append' => $append]);
        }
        return $this->_wrap($input, null, $append);
    }
public function append($input, $append) {
        $append = $this->_wrapInputGroup($append);
        if ($input === null) {
            return $this->formatTemplate('inputGroupEnd', ['append' => $append]);
        }
        return $this->_wrap($input, null, $append);
    }
public function append ( $ input , $ append ) { $ append = $ this -> _wrapInputGroup ( $ append ) ; if ( $ input === null ) { return $ this -> formatTemplate ( 'inputGroupEnd' , [ 'append' => $ append ] ) ; } return $ this -> _wrap ( $ input , null , $ append ) ; }
Append the given content to the given input or close an input group.

@param string|null $input Input to which `$append` will be append, or
null to create a closing element for an input group.
@param string|array $append The content to append.,

@return string The input with the content of `$append` appended or a
closing `</div>` for an input group.
Append the given content to the given input or close an input group .