refactoring the uri class more.

This commit is contained in:
Taylor Otwell 2011-10-24 23:41:08 -05:00
parent bf50b67475
commit bce571bf26
1 changed files with 4 additions and 4 deletions

View File

@ -30,6 +30,10 @@ public function __construct($server)
/**
* 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 @@ protected function remove($uri, $remove)
/**
* 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
*/