示例#1
0
文件: Request.php 项目: Mosaic/Mosaic
 /**
  * {@inheritdoc}
  */
 public function withoutHeader($name)
 {
     return new static($this->wrapped->withoutHeader($name));
 }
 /**
  * Proxy to ServerRequestInterface::removeHeader()
  *
  * {@inheritdoc}
  */
 public function withoutHeader($header)
 {
     $new = $this->psrRequest->withoutHeader($header);
     return new self($new, $this->originalRequest);
 }
示例#3
0
 /**
  * {@inheritDoc}
  */
 public function withoutHeader($name)
 {
     return new self($this->app, $this->psrRequest->withoutHeader($name));
 }
示例#4
0
 /**
  * @inheritDoc
  */
 public function withoutHeader($name)
 {
     $self = clone $this;
     $self->serverRequest = $this->serverRequest->withoutHeader($name);
     return $self;
 }