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

Method rename

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

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

Callers 1

importBundleMethod · 0.45

Calls 2

isOwnMethod · 0.95
updateNameMethod · 0.45

Tested by

no test coverage detected