From 05cafa68d14e2380b35ce9f1d2e1ae7fa8a1dc1e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 16 Jan 2018 18:30:32 +0100 Subject: [PATCH] Add interface function setRoot --- Uri/UriInterface.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Uri/UriInterface.php b/Uri/UriInterface.php index 8be075531..1950e3efd 100644 --- a/Uri/UriInterface.php +++ b/Uri/UriInterface.php @@ -117,6 +117,17 @@ interface UriInterface */ public function getRootPath() : string; + /** + * Set root path. + * + * @param string $uri Uri + * + * @return void + * + * @since 1.0.0 + */ + public function setRootPath(string $root) /* : void */; + /** * Get path element. * @@ -202,5 +213,5 @@ interface UriInterface * * @since 1.0.0 */ - public function set(string $uri); + public function set(string $uri) /* : void */; }