Zend\Uri\Uri::parseScheme
Extract only the scheme part out of a URI string.
This is used by the parse() method, but is useful as a standalone public method if one wants to test a URI string for it's scheme before doing anything with it. Will return the scheme if found, or NULL if no scheme found (URI may still be valid, but not full)
Signature
public function parseScheme(string
$uriString )
Parameters
$uriString
— string
Returns
- string|null