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

Method getItemUrl

lib/ContextChat/ContentProvider.php:66–68  ·  view source on GitHub ↗

* The absolute URL to the content item * * @param string $id * @return string * @since 1.1.0 */

(string $id)

Source from the content-addressed store, hash-verified

64 * @since 1.1.0
65 */
66 public function getItemUrl(string $id): string {
67 return $this->urlGenerator->linkToRouteAbsolute('analytics.page.main') . 'r/' . $id;
68 }
69
70 /**
71 * Starts the initial import of content items into content chat

Callers

nothing calls this directly

Calls 1

linkToRouteAbsoluteMethod · 0.45

Tested by

no test coverage detected