public function addInputText() : Input\Text
    {
        $input = new Input\Text($this->form, $this->name . '[]');
        $this->inputs[] = $input;

        return $input;
    }
public function addInputText() : Input\Text
    {
        $input = new Input\Text($this->form, $this->name . '[]');
        $this->inputs[] = $input;

        return $input;
    }
public function addInputText ( ) : Input \ Text { $ input = new Input \ Text ( $ this -> form , $ this -> name . '[]' ) ; $ this -> inputs [ ] = $ input ; return $ input ; }
Adds a text input to this group and returns it.

@return Input\Text
Adds a text input to this group and returns it .