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;
    }