Zend\Stratigility\Http\Response::__construct PHP Méthode

__construct() public méthode

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

Usage Example

Exemple #1
0
 /**
  * @param App $app
  * @param ResponseInterface $response
  */
 public function __construct(App $app, ResponseInterface $response)
 {
     $this->app = $app;
     parent::__construct($response);
 }