| 268 | } |
| 269 | |
| 270 | class 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected