WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

ReportCSVExporter::__construct() public WC 1.0

Constructor.

{} It's a method of the class: ReportCSVExporter{}

No Hooks.

Return

null. Nothing.

Usage

$ReportCSVExporter = new ReportCSVExporter();
$ReportCSVExporter->__construct( $type, $args );
$type(string)
Report type. E.g. 'customers'.
$args(array)
Report parameters.

Code of ReportCSVExporter::__construct() WC 5.2.2

<?php
public function __construct( $type = false, $args = array() ) {
	parent::__construct();

	if ( ! empty( $type ) ) {
		$this->set_report_type( $type );
		$this->set_column_names( $this->get_report_columns() );
	}

	if ( ! empty( $args ) ) {
		$this->set_report_args( $args );
	}
}