public function Uri::getScheme in Lockr 7.3
Retrieve the scheme component of the URI.
If no scheme is present, this method MUST return an empty string.
The value returned MUST be normalized to lowercase, per RFC 3986 Section 3.1.
The trailing ":" character is not part of the scheme and MUST NOT be added.
Return value
string The URI scheme.
Overrides UriInterface::getScheme
See also
https://tools.ietf.org/html/rfc3986#section-3.1
File
- vendor/
guzzlehttp/ psr7/ src/ Uri.php, line 373
Class
- Uri
- PSR-7 URI implementation.
Namespace
GuzzleHttp\Psr7Code
public function getScheme() {
return $this->scheme;
}