refactoring the uri class more.
This commit is contained in:
@@ -30,6 +30,10 @@ class URI {
|
||||
/**
|
||||
* Get the request URI for the current request.
|
||||
*
|
||||
* If the request is to the root of the application, a single forward slash
|
||||
* will be returned. Otherwise, the URI will be returned with all leading
|
||||
* and trailing slashes removed.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get()
|
||||
@@ -76,10 +80,6 @@ class URI {
|
||||
/**
|
||||
* Format the URI for use throughout the framework.
|
||||
*
|
||||
* If the request is to the root of the application, a single forward slash
|
||||
* will be returned. Otherwise, the URI will be returned with all leading
|
||||
* and trailing slashes removed.
|
||||
*
|
||||
* @param string $uri
|
||||
* @return string
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user