MCPcopy Create free account
hub / github.com/Rello/analytics / simulate

Method simulate

lib/Controller/DataloadController.php:112–116  ·  view source on GitHub ↗

* simulate a dataload and output its data * * @param int $dataloadId * @return DataResponse * @throws NotFoundException */

(int $dataloadId)

Source from the content-addressed store, hash-verified

110 * @throws NotFoundException
111 */
112 #[NoAdminRequired]
113 public function simulate(int $dataloadId): DataResponse
114 {
115 return new DataResponse($this->DataloadService->getDataFromDatasource($dataloadId));
116 }
117
118 /**
119 * execute a dataload from data source and store into dataset

Callers

nothing calls this directly

Calls 1

getDataFromDatasourceMethod · 0.80

Tested by

no test coverage detected