SparkPost\SparkPostResponse::__construct PHP 메소드

__construct() 공개 메소드

set the response to be wrapped.
public __construct ( Psr\Http\Message\ResponseInterface $response )
$response Psr\Http\Message\ResponseInterface
    public function __construct(ResponseInterface $response)
    {
        $this->response = $response;
    }