文件名称:swap-master汇率PHP库.zip
文件大小:10KB
文件格式:ZIP
更新时间:2022-07-31 05:01:26
类库下载-swap-master汇率PHP库
<?php namespace Swap\Service; use Exchanger\Service\Service; use Http\Client\HttpClient; use Http\Discovery\HttpClientDiscovery; use Http\Discovery\MessageFactoryDiscovery; use Http\Message\RequestFactory; class Factory { private $httpClient; private $requestFactory; private $registry; public function __construct(HttpClient $httpClient = null, RequestFactory $requestFactory = null) { $this->httpClient = $httpClient ?: HttpClientDiscovery::find(); $this->requestFactory = $requestFactory ?: MessageFactoryDiscovery::find(); $this->registry = new Registry(); } public function setHttpClient(HttpClient $httpClient) { $this->httpClient = $httpClient; } public function setRequestFactory(RequestFactory $requestFactory) { $this->requestFactory = $requestFactory; }汇率是指一国货币与另一国货币的比率或比价,或者说是用一国货币表示的另一国货币的价格。汇率变动对一国进出口贸易有着直接的调节作用。在一定条件下,通过使本国货币对外贬值,即让汇率上升,会起到促进出口、限制进口的作用;反之,本国货币对外升值,即汇率下降,则起到限制出口、增加进口的作用。
【文件预览】:
swap-master汇率PHP库
----php中文网下载站.url(114B)
----php中文网免费下载站.txt(219B)
----swap-master()
--------composer.json(966B)
--------.php_cs.dist(489B)
--------LICENSE(1KB)
--------src()
--------CHANGELOG.md(536B)
--------phpunit.xml.dist(201B)
--------README.md(3KB)