Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function withProtocolVersion($version)
 {
     return new static($this->wrapped->withProtocolVersion($version));
 }
Пример #2
0
 /**
  * Proxy to ServerRequestInterface::withProtocolVersion()
  *
  * {@inheritdoc}
  */
 public function withProtocolVersion($version)
 {
     $new = $this->psrRequest->withProtocolVersion($version);
     return new self($new, $this->originalRequest);
 }
Пример #3
0
 /**
  * {@inheritDoc}
  */
 public function withProtocolVersion($version)
 {
     return new self($this->app, $this->psrRequest->withProtocolVersion($version));
 }
Пример #4
0
 /**
  * @inheritDoc
  */
 public function withProtocolVersion($version)
 {
     $self = clone $this;
     $self->serverRequest = $this->serverRequest->withProtocolVersion($version);
     return $self;
 }