src/WPametu/UI/Field/Input.php
protected function build_input($data, array $fields = [] ){
        $fields = implode(' ', $fields);
        return sprintf('<input id="%1$s" name="%1$s" type="%2$s" %3$s value="%4$s" />',
            $this->name, $this->type, $fields, esc_attr($data));

    }
protected function build_input($data, array $fields = [] ){
        $fields = implode(' ', $fields);
        return sprintf('<input id="%1$s" name="%1$s" type="%2$s" %3$s value="%4$s" />',
            $this->name, $this->type, $fields, esc_attr($data));

    }
protected function build_input ( $ data , array $ fields = [ ] ) { $ fields = implode ( ' ' , $ fields ) ; return sprintf ( '<input id="%1$s" name="%1$s" type="%2$s" %3$s value="%4$s" />' , $ this -> name , $ this -> type , $ fields , esc_attr ( $ data ) ) ; }
build input field

@param mixed $data
@param array $fields
@return string
build input field