private function Uri::urlEncodeChar in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-diactoros/src/Uri.php \Zend\Diactoros\Uri::urlEncodeChar()
URL encode a character returned by a regex.
Parameters
array $matches:
Return value
string
File
- vendor/
zendframework/ zend-diactoros/ src/ Uri.php, line 655
Class
- Uri
- Implementation of Psr\Http\UriInterface.
Namespace
Zend\DiactorosCode
private function urlEncodeChar(array $matches) {
return rawurlencode($matches[0]);
}