refactoring the uri class more.
This commit is contained in:
parent
bf50b67475
commit
bce571bf26
|
@ -30,6 +30,10 @@ public function __construct($server)
|
||||||
/**
|
/**
|
||||||
* 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 @@ protected function remove($uri, $remove)
|
||||||
/**
|
/**
|
||||||
* 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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue