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

Method read

lib/Service/ThresholdService.php:48–51  ·  view source on GitHub ↗

* read all thresholds for a dataset * * @param int $reportId * @return array */

(int $reportId)

Source from the content-addressed store, hash-verified

46 * @return array
47 */
48 public function read(int $reportId) {
49 $thresholds = $this->ThresholdMapper->getThresholdsByReport($reportId);
50 return $this->VariableService->replaceThresholdsVariables($thresholds);
51 }
52
53 /**
54 * read all thresholds for a dataset without any replaced text variables

Callers 1

validateMethod · 0.45

Calls 2

getThresholdsByReportMethod · 0.80

Tested by

no test coverage detected