whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
sentry
/
sentry-laravel
/
src
/
Sentry
/
Laravel
/
Util
/
Upload File:
files >> //home/kckglobal/www/portal/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Util/WorksWithUris.php
<?php namespace Sentry\Laravel\Util; use GuzzleHttp\Psr7\Uri; use Psr\Http\Message\UriInterface; trait WorksWithUris { /** * Construct a full URI. * * @param string $url * * @return UriInterface */ protected function getFullUri(string $url): UriInterface { return new Uri($url); } /** * Construct a partial URI, excluding the authority, query and fragment parts. * * @param UriInterface $uri * * @return string */ protected function getPartialUri(UriInterface $uri): string { return (string) Uri::fromParts([ 'scheme' => $uri->getScheme(), 'host' => $uri->getHost(), 'port' => $uri->getPort(), 'path' => $uri->getPath(), ]); } }
Copyright ©2021 || Defacer Indonesia