public function getDataTable() { if (is_null($this->dataTable)) { throw new \Exception("The DataTable object has not yet been created"); } return $this->dataTable; }