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

@param string|null $input Input to which `$prepend` will be prepend, or
null to create an opening input group.
@param string|array $prepend The content to prepend.,

@return string The input with the content of `$prepend` prepended or an
opening `<div>` for an input group.
Prepend the given content to the given input or create an opening input group .