($endpoint)
| 156 | } |
| 157 | |
| 158 | public function Url($endpoint) { |
| 159 | return $this->urlGenerator->linkToRouteAbsolute('analytics.page.main') . 'r/' . $endpoint; |
| 160 | } |
| 161 | |
| 162 | private function isAnalyticsEnabledForCurrentUser(): bool { |
| 163 | if ($this->userId === null || $this->userId === '') { |
no test coverage detected