private function Uri::filterScheme in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/Uri.php \Zend\Diactoros\Uri::filterScheme()
- 8 vendor/guzzlehttp/psr7/src/Uri.php \GuzzleHttp\Psr7\Uri::filterScheme()
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/Uri.php \GuzzleHttp\Psr7\Uri::filterScheme()
Parameters
string $scheme:
Return value
string
2 calls to Uri::filterScheme()
- Uri::applyParts in vendor/
guzzlehttp/ psr7/ src/ Uri.php - Apply parse_url parts to a URI.
- Uri::withScheme in vendor/
guzzlehttp/ psr7/ src/ Uri.php - Return an instance with the specified scheme.
File
- vendor/
guzzlehttp/ psr7/ src/ Uri.php, line 532
Class
- Uri
- Basic PSR-7 URI implementation.
Namespace
GuzzleHttp\Psr7Code
private function filterScheme($scheme) {
$scheme = strtolower($scheme);
$scheme = rtrim($scheme, ':/');
return $scheme;
}