/** * @return static */ protected function copy() { return new Request($this->context, $this->target, $this->method, $this->arguments->copy()); }
/** * @return WebRequest */ protected function copy() { return new WebRequest($this->getContext(), $this->getTarget(), $this->getMethod(), $this->getArguments()->copy(), $this->formats->copy(), $this->headers->copy()); }
/** * @return \watoki\collections\Map */ public function getParameters() { return $this->parameters->copy(); }