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

Method status

lib/Service/DatasetService.php:159–164  ·  view source on GitHub ↗

* get dataset status * * @param int $datasetId * @return array|bool * @throws Exception */

(int $datasetId)

Source from the content-addressed store, hash-verified

157 * @throws Exception
158 */
159 public function status(int $datasetId): array {
160 $status = array();
161 $status['reports'] = $this->ReportMapper->reportsForDataset($datasetId);
162 $status['data'] = $this->StorageMapper->getRecordCount($datasetId);
163 return $status;
164 }
165
166 /**
167 * create new dataset

Callers

nothing calls this directly

Calls 2

reportsForDatasetMethod · 0.45
getRecordCountMethod · 0.45

Tested by

no test coverage detected