public function Uri::getScheme in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/Uri.php \Zend\Diactoros\Uri::getScheme()
- 8 vendor/zendframework/zend-feed/src/Uri.php \Zend\Feed\Uri::getScheme()
- 8 vendor/guzzlehttp/psr7/src/Uri.php \GuzzleHttp\Psr7\Uri::getScheme()
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/Uri.php \GuzzleHttp\Psr7\Uri::getScheme()
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 269
Class
- Uri
- Basic PSR-7 URI implementation.
Namespace
GuzzleHttp\Psr7Code
public function getScheme() {
return $this->scheme;
}