Habari\FormContainer::append PHP Метод

append() публичный Метод

Append a control to the end of this container
public append ( FormControl $control ) : FormControl | FormContainer
$control FormControl A control to append to the end of this container
Результат FormControl | FormContainer The provided FormControl object, fluid
    public function append($control)
    {
        if (!$control instanceof FormControl) {
            $control = FormControl::from_args(func_get_args());
        }
        $control->set_container($this);
        $this->controls[$control->name] = $control;
        return $control;
    }