public function getFragmentString() { if (!$this->hasFragmentString()) { throw new UrlException(sprintf("URL '%s' has no fragment string", $this->_inputString)); } return $this->_fragments['fragment']; }