[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.138.32.110: ~ $
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Polyfill\Intl\Icu;

/**
 * @author Nicolas Grekas <p@tchwork.com>
 *
 * @internal
 */
class Currencies
{
    private static $data;

    public static function getSymbol(string $currency): ?string
    {
        $data = self::$data ?? self::$data = require __DIR__.'/Resources/currencies.php';

        return $data[$currency][0] ?? $data[strtoupper($currency)][0] ?? null;
    }

    public static function getFractionDigits(string $currency): int
    {
        $data = self::$data ?? self::$data = require __DIR__.'/Resources/currencies.php';

        return $data[$currency][1] ?? $data[strtoupper($currency)][1] ?? $data['DEFAULT'][1];
    }

    public static function getRoundingIncrement(string $currency): int
    {
        $data = self::$data ?? self::$data = require __DIR__.'/Resources/currencies.php';

        return $data[$currency][2] ?? $data[strtoupper($currency)][2] ?? $data['DEFAULT'][2];
    }
}

Filemanager

Name Type Size Permission Actions
DateFormat Folder 0755
Exception Folder 0755
Resources Folder 0755
Collator.php File 7.26 KB 0644
Currencies.php File 1.14 KB 0644
Icu.php File 2.96 KB 0644
IntlDateFormatter.php File 19.68 KB 0644
LICENSE File 1.04 KB 0644
Locale.php File 8.72 KB 0644
NumberFormatter.php File 28.32 KB 0644
README.md File 852 B 0644
bootstrap.php File 906 B 0644
bootstrap80.php File 826 B 0644
composer.json File 1.14 KB 0644