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

Method getReportByThreshold

lib/Db/ThresholdMapper.php:89–96  ·  view source on GitHub ↗
($id)

Source from the content-addressed store, hash-verified

87 }
88
89 public function getReportByThreshold($id)
90 {
91 $sql = $this->db->getQueryBuilder();
92 $sql->from(self::TABLE_NAME)
93 ->select('report')
94 ->where($sql->expr()->eq('id', $sql->createNamedParameter($id)));
95 return (int)$sql->executeQuery()->fetchOne();
96 }
97
98 public function getOwnReportByThreshold(int $id): int {
99 $sql = $this->db->getQueryBuilder();

Callers

nothing calls this directly

Calls 1

eqMethod · 0.80

Tested by

no test coverage detected