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

Class FakeUrlGenerator

tests/Activity/ActivityAccessTest.php:270–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270class FakeUrlGenerator implements IURLGenerator {
271 public function getAbsoluteURL($url) {
272 return 'https://cloud.example' . $url;
273 }
274
275 public function imagePath($appName, $file) {
276 return '/apps/' . $appName . '/img/' . $file;
277 }
278
279 public function linkToRouteAbsolute($routeName, $arguments = []) {
280 return 'https://cloud.example/index.php/apps/analytics/';
281 }
282}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected