public function __construct(\App\Report $report) { $this->report = $report; $this->reportFields = $report->getReportFields(); $this->processReportFields(); }