for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mrzard\OpenExchangeRates\Service;
class HttpResponseWrapper implements HttpResponseInterface
getResponse
{
/** @var object */
private $wrappedResponse;
/**
* @param object $wrappedResponse
*/
public function __construct($wrappedResponse)
$this->wrappedResponse = $wrappedResponse;
}
* @return object
public function getWrappedResponse()
return $this->wrappedResponse;
* @inheritdoc
public function getBody()
return $this->wrappedResponse->getBody();