/** * @param \PSX\Uri $ref * @return boolean */ public function canResolve(Uri $ref) { return $this->baseUri->getHost() == $ref->getHost() && $this->baseUri->getPath() == $ref->getPath(); }
protected function getKey(Uri $uri) { return $uri->getScheme() . '-' . $uri->getHost() . '-' . $uri->getPath(); }