public function setUriFactory(UriFactory $uriFactory) { $this->uriFactory = $uriFactory; return $this; }