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

Method simulate

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

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