Commit bce571bf authored by Taylor Otwell's avatar Taylor Otwell

refactoring the uri class more.

parent bf50b674
...@@ -30,6 +30,10 @@ class URI { ...@@ -30,6 +30,10 @@ class URI {
/** /**
* Get the request URI for the current request. * 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 * @return string
*/ */
public function get() public function get()
...@@ -76,10 +80,6 @@ class URI { ...@@ -76,10 +80,6 @@ class URI {
/** /**
* Format the URI for use throughout the framework. * 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 * @param string $uri
* @return string * @return string
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment