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

Method rename

lib/Service/ReportService.php:736–741  ·  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

734 * @return bool
735 */
736 public function rename(int $reportId, string $name) {
737 if ($this->isOwn($reportId)) {
738 return $this->ReportMapper->updateName($reportId, $name);
739 }
740 return false;
741 }
742
743 /**
744 * search for reports

Callers

nothing calls this directly

Calls 2

isOwnMethod · 0.95
updateNameMethod · 0.45

Tested by

no test coverage detected