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

Method rename

lib/Service/ReportService.php:627–632  ·  view source on GitHub ↗

* rename report * * @param int $reportId * @param string $name * @return bool */

(int $reportId, string $name)

Source from the content-addressed store, hash-verified

625 * @return bool
626 */
627 public function rename(int $reportId, string $name) {
628 if ($this->isOwn($reportId)) {
629 return $this->ReportMapper->updateName($reportId, $name);
630 }
631 return false;
632 }
633
634 /**
635 * search for reports

Callers

nothing calls this directly

Calls 2

isOwnMethod · 0.95
updateNameMethod · 0.45

Tested by

no test coverage detected