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

Method read

lib/Service/ThresholdService.php:60–63  ·  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

58 * @return array
59 */
60 public function read(int $reportId) {
61 $thresholds = $this->ThresholdMapper->getThresholdsByReport($reportId);
62 return $this->VariableService->replaceThresholdsVariables($thresholds);
63 }
64
65 /**
66 * 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