public function withMethod(string $method) : Request { $new = clone $this; $new->method = $new->filterMethod($method); return $new; }