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

__construct() 공개 메소드

public __construct ( Psr\Http\Message\ResponseInterface $response )
$response Psr\Http\Message\ResponseInterface
    public function __construct(PsrResponseInterface $response)
    {
        $this->psrResponse = $response;
    }

Usage Example

예제 #1
0
파일: Response.php 프로젝트: spiffyjr/tonis
 /**
  * @param App $app
  * @param ResponseInterface $response
  */
 public function __construct(App $app, ResponseInterface $response)
 {
     $this->app = $app;
     parent::__construct($response);
 }