public function initializeWithUrlAndRootPath($url, $root_path)
    {
        $this->initializeWithUrl($url);
        $this->root_path = $root_path;

        return $this;
    }
public function initializeWithUrlAndRootPath($url, $root_path)
    {
        $this->initializeWithUrl($url);
        $this->root_path = $root_path;

        return $this;
    }
public function initializeWithUrlAndRootPath ( $ url , $ root_path ) { $ this -> initializeWithUrl ( $ url ) ; $ this -> root_path = $ root_path ; return $ this ; }
Initialize the URI class by providing url and root_path arguments

@param string $url
@param string $root_path

@return $this
Initialize the URI class by providing url and root_path arguments