public function withMethod($method) { $new = $this->psrRequest->withMethod($method); return new self($new, $this->originalRequest); }
/** * {@inheritDoc} */ public function withMethod($method) { return new self($this->app, parent::withMethod($method)); }