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
Register a scheme-specific class to be used
| Parameters: |
|
|---|
Get the class name for a registered scheme
If provided scheme is not registered, will return NULL
| Parameters: | string – |
|---|---|
| Return type: | string|null |
Create a URI from a string
| Parameters: |
|
|---|---|
| Throws ExceptionInvalidArgumentException: | |
| Return type: | ZendUriUri |