code: public function text( $attr ) {
  
  		$id      = $attr[ 'label_for' ];
  		$name    = $attr[ 'name' ];
  		$current = $this->options[ $id ];
  		$type    = isset( $attr[ 'type' ] )
  			? $attr[ 'type' ]
  			: 'text';
  		$value = esc_attr( $this->options[ $id ] );
  		?>
  		<input
  			type="<?php echo $type; ?>"
  			name="<?php echo $name; ?>"
  			id="<?php echo $attr[ 'label_for' ]; ?>"
  			value="<?php echo $value; ?>"
  		/>
  		<?php
  		if ( ! empty( $attr[ 'description' ] ) ) { ?>
  			<p class="description"><?php echo $attr[ 'description' ]; ?></p>
  			<?php
  		}
  	}
docs: prints the form field
  
  @param array $attr
  @return void