Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/store/web/modules/contrib/commerce/modules/price/src/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/store/web/modules/contrib/commerce/modules/price/src/NumberFormatter.php

<?php

namespace Drupal\commerce_price;

use CommerceGuys\Intl\Formatter\NumberFormatter as ExternalNumberFormatter;
use CommerceGuys\Intl\NumberFormat\NumberFormatRepositoryInterface;
use Drupal\commerce\CurrentLocaleInterface;

/**
 * Extends the commerceguys/intl NumberFormatter to provide better defaults.
 *
 * @see \CommerceGuys\Intl\Formatter\NumberFormatterInterface
 */
class NumberFormatter extends ExternalNumberFormatter {

  /**
   * Constructs a new NumberFormatter object.
   *
   * @param \CommerceGuys\Intl\NumberFormat\NumberFormatRepositoryInterface $number_format_repository
   *   The number format repository.
   * @param \Drupal\commerce\CurrentLocaleInterface $current_locale
   *   The current locale.
   * @param array $default_options
   *   The default options.
   */
  public function __construct(NumberFormatRepositoryInterface $number_format_repository, CurrentLocaleInterface $current_locale, array $default_options = []) {
    $default_options += [
      'locale' => $current_locale->getLocale()->getLocaleCode(),
    ];

    parent::__construct($number_format_repository, $default_options);
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net