메소드 | 설명 | |
---|---|---|
__construct ( Http\Client\HttpClient $httpClient = null, Http\Message\RequestFactory $requestFactory = null ) | ||
create ( string $serviceName, array $args = [] ) : Exchanger\Contract\ExchangeRateService | Creates a new service. | |
setHttpClient ( Http\Client\HttpClient $httpClient ) | Sets the http client. | |
setRequestFactory ( Http\Message\RequestFactory $requestFactory ) | Sets the request factory. |
public __construct ( Http\Client\HttpClient $httpClient = null, Http\Message\RequestFactory $requestFactory = null ) | ||
$httpClient | Http\Client\HttpClient | |
$requestFactory | Http\Message\RequestFactory |
public setHttpClient ( Http\Client\HttpClient $httpClient ) | ||
$httpClient | Http\Client\HttpClient |
public setRequestFactory ( Http\Message\RequestFactory $requestFactory ) | ||
$requestFactory | Http\Message\RequestFactory |