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/zendframework/zend-diactoros/src/Uri.php \Zend\Diactoros\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/
zendframework/ zend-diactoros/ src/ Uri.php, line 142
Class
- Uri
- Implementation of Psr\Http\UriInterface.
Namespace
Zend\DiactorosCode
public function getScheme() {
return $this->scheme;
}