public function of($reportType)
    {
        $this->validateReportType($reportType);

        $this->reportDefinitionFields = $this->reportDefinitionService->getReportFields($reportType);

        $this->obj = $this->createObj($this->reportDefinitionFields);

        return $this;
    }
public function of($reportType)
    {
        $this->validateReportType($reportType);

        $this->reportDefinitionFields = $this->reportDefinitionService->getReportFields($reportType);

        $this->obj = $this->createObj($this->reportDefinitionFields);

        return $this;
    }
public function of ( $ reportType ) { $ this -> validateReportType ( $ reportType ) ; $ this -> reportDefinitionFields = $ this -> reportDefinitionService -> getReportFields ( $ reportType ) ; $ this -> obj = $ this -> createObj ( $ this -> reportDefinitionFields ) ; return $ this ; }
Load the fields of the passed reportType

@param $reportType
@return $this
Load the fields of the passed reportType