fjescala/centralbank

提取不同货币由中央银行定价的包

dev-main 2022-09-07 15:04 UTC

This package is not auto-updated.

Last update: 2024-10-03 05:24:20 UTC


README

提取委内瑞拉中央银行不同货币定价的包

安装

composer require fjescala/centralbank

用法

以下是一个小示例

use Fjescala\CentralBank\CentralBankManager as CentralBank; // at the top of the file

  public function __construct(CentralBank $central)
    {
        $this->central = $central;

 
    }

      public function index()
    {
        $amountInBolivares = $this->central->getCurrency("dolar");
        $amountInBolivares = $this->central->getCurrency("rublo");
        $amountInBolivares = $this->central->getCurrency("lira");
        $amountInBolivares = $this->central->getCurrency("yuan");
        $amountInBolivares = $this->central->getCurrency("euro");
       

      
    }