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

Method simulate

lib/Controller/DataloadController.php:117–121  ·  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

115 * @throws NotFoundException
116 */
117 #[NoAdminRequired]
118 public function simulate(int $dataloadId): DataResponse
119 {
120 return new DataResponse($this->DataloadService->getDataFromDatasource($dataloadId));
121 }
122
123 /**
124 * 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