Http\Client\Promise\HttpFulfilledPromise::__construct PHP Method

__construct() public method

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