MCPcopy Create free account
hub / github.com/GDATASoftwareAG/vaas / logUri

Method logUri

php/src/vaas/Vaas.php:417–423  ·  view source on GitHub ↗
(Request $request)

Source from the content-addressed store, hash-verified

415 }
416
417 private static function logUri(Request $request): string
418 {
419 $uri = $request->getUri()->getScheme() . '://' . $request->getUri()->getHost() . $request->getUri()->getPort() . $request->getUri()->getPath();
420 $query = $request->getUri()->getQuery();
421 $fragment = $request->getUri()->getFragment();
422 return $uri . (!empty($query) ? '?' . $query : '') . (!empty($fragment) ? '#' . $fragment : '');
423 }
424
425 /**
426 * Validate the URI per RFC 2396 (https://datatracker.ietf.org/doc/html/rfc2396)

Callers 3

forSha256AsyncMethod · 0.95
forStreamAsyncMethod · 0.95
forUrlAsyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected