Zend\Uri\Uri::encodePath
Encode the path
Will replace all characters which are not strictly allowed in the path part with percent-encoded representation
Signature
public function encodePath(string
$path )
Parameters
$path
— string
Returns
- string