Zend\Uri\Uri::validateScheme
Check if a scheme is valid or not
Will check $scheme to be valid against the generic scheme syntax defined in RFC-3986. If the class also defines specific acceptable schemes, will also check that $scheme is one of them.
Signature
public function validateScheme(string
$scheme )
Parameters
$scheme
— string
Returns
- bool