You are here

public function ReportTable::__construct in Commerce Reporting 8

Creates a new ReportTable object.

Parameters

\Drupal\commerce_reports\ReportTypeManager $report_type_manager: The report type manager.

\Drupal\commerce_reports\ReportQueryBuilder $report_query_builder: The report query builder.

File

src/Controller/ReportTable.php, line 37

Class

ReportTable
Table report controller.

Namespace

Drupal\commerce_reports\Controller

Code

public function __construct(ReportTypeManager $report_type_manager, ReportQueryBuilder $report_query_builder) {
  $this->reportTypeManager = $report_type_manager;
  $this->reportQueryBuilder = $report_query_builder;
}