Zend\Stratigility\Http\Response::withoutHeader PHP 메소드

withoutHeader() 공개 메소드

public withoutHeader ( $header )
    public function withoutHeader($header)
    {
        if ($this->complete) {
            throw $this->responseIsAlreadyCompleted(__METHOD__);
        }
        $new = $this->psrResponse->withoutHeader($header);
        return new self($new);
    }

Usage Example

예제 #1
0
파일: Response.php 프로젝트: spiffyjr/tonis
 /**
  * {@inheritDoc}
  */
 public function withoutHeader($header)
 {
     return new self($this->app, parent::withoutHeader($header));
 }