public function __construct($params) { $this->reportId = $params['reportId']; $this->emailFieldName = $params['emailFieldName']; }