URI Factory Class
The URI factory can be used to generate URI objects from strings, using a different URI subclass depending on the input URI scheme. New scheme-specific classes can be registered using the registerScheme() method.
Note that this class contains only static methods and should not be instantiated
factory(string $uriString, string $defaultScheme) : \Zend\Uri\Uri
string
string
\Zend\Uri\Exception\InvalidArgumentException |
---|
getRegisteredSchemeClass(string $scheme) : string | null
If provided scheme is not registered, will return NULL
string
string
null
registerScheme(string $scheme, string $class)
string
string
unregisterScheme(string $scheme)
string
$schemeClasses : array