protected function fromString($uri)
    {
        if (empty($uri)) {
            return $this;
        }

        $this->fromArray(parse_url($uri));

        return $this;
    }
protected function fromString($uri)
    {
        if (empty($uri)) {
            return $this;
        }

        $this->fromArray(parse_url($uri));

        return $this;
    }
protected function fromString ( $ uri ) { if ( empty ( $ uri ) ) { return $ this ; } $ this -> fromArray ( parse_url ( $ uri ) ) ; return $ this ; }
Import from a string

@param string $uri

@return Uri
Import from a string