/var/www/vhosts/ihelp.ro/_OLD/vendor/aura/intl/src
NameSizeModeActions
Exception/-0755rm
BasicFormatter.php9370644editdlrm
Exception.php2620644editdlrm
FormatterInterface.php5000644editdlrm
FormatterLocator.php20350644editdlrm
IntlFormatter.php23330644editdlrm
Package.php36020644editdlrm
PackageFactory.php9730644editdlrm
PackageLocator.php24170644editdlrm
PackageLocatorInterface.php8640644editdlrm
Translator.php34720644editdlrm
TranslatorFactory.php11500644editdlrm
TranslatorInterface.php4530644editdlrm
TranslatorLocator.php38100644editdlrm
TranslatorLocatorFactory.php8460644editdlrm
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/aura/intl/src/PackageLocator.php (2417B)
$locales) { foreach ($locales as $locale => $spec) { $this->set($name, $locale, $spec); } } } /** * * Sets a Package object. * * @param string $name The package name. * * @param string $locale The locale for the package. * * @param callable $spec A callable that returns a package. * * @return void * */ public function set($name, $locale, callable $spec) { $this->registry[$name][$locale] = $spec; $this->converted[$name][$locale] = false; } /** * * Gets a Package object. * * @param string $name The package name. * * @param string $locale The locale for the package. * * @return Package * */ public function get($name, $locale) { if (! isset($this->registry[$name][$locale])) { throw new Exception("Package '$name' with locale '$locale' is not registered."); } if (! $this->converted[$name][$locale]) { $func = $this->registry[$name][$locale]; $this->registry[$name][$locale] = $func(); $this->converted[$name][$locale] = true; } return $this->registry[$name][$locale]; } }