diff --git a/src/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.php b/src/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.php index b507f25b8f0d0..1b8e77a12f73b 100644 --- a/src/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.php +++ b/src/Symfony/Component/Intl/Data/Provider/LanguageDataProvider.php @@ -19,7 +19,7 @@ * * @author Bernhard Schussek * - * @internal to be removed in 5.0. + * @internal */ class LanguageDataProvider { @@ -38,11 +38,17 @@ public function __construct(string $path, BundleEntryReaderInterface $reader) $this->reader = $reader; } + /** + * @internal to be removed in 5.0. + */ public function getLanguages() { return $this->reader->readEntry($this->path, 'meta', ['Languages']); } + /** + * @internal to be removed in 5.0. + */ public function getAliases() { return $this->reader->readEntry($this->path, 'root', ['Aliases']); @@ -57,6 +63,9 @@ public function getName($language, $displayLocale = null) return $this->reader->readEntry($this->path, $displayLocale, ['Names', $language]); } + /** + * @internal to be removed in 5.0. + */ public function getNames($displayLocale = null) { if (null === $displayLocale) { @@ -75,6 +84,9 @@ public function getNames($displayLocale = null) return $languages; } + /** + * @internal to be removed in 5.0. + */ public function getAlpha3Code($language) { return $this->reader->readEntry($this->path, 'meta', ['Alpha2ToAlpha3', $language]); diff --git a/src/Symfony/Component/Intl/Data/Provider/RegionDataProvider.php b/src/Symfony/Component/Intl/Data/Provider/RegionDataProvider.php index bf6a634aa200a..1a6d83eff40f4 100644 --- a/src/Symfony/Component/Intl/Data/Provider/RegionDataProvider.php +++ b/src/Symfony/Component/Intl/Data/Provider/RegionDataProvider.php @@ -19,7 +19,7 @@ * * @author Bernhard Schussek * - * @internal to be removed in 5.0. + * @internal */ class RegionDataProvider { @@ -38,6 +38,9 @@ public function __construct(string $path, BundleEntryReaderInterface $reader) $this->reader = $reader; } + /** + * @internal to be removed in 5.0. + */ public function getRegions() { return $this->reader->readEntry($this->path, 'meta', ['Regions']); @@ -52,6 +55,9 @@ public function getName($region, $displayLocale = null) return $this->reader->readEntry($this->path, $displayLocale, ['Names', $region]); } + /** + * @internal to be removed in 5.0. + */ public function getNames($displayLocale = null) { if (null === $displayLocale) { diff --git a/src/Symfony/Component/Intl/Data/Provider/ScriptDataProvider.php b/src/Symfony/Component/Intl/Data/Provider/ScriptDataProvider.php index 9f1ed1711f186..4f6ab3c156db9 100644 --- a/src/Symfony/Component/Intl/Data/Provider/ScriptDataProvider.php +++ b/src/Symfony/Component/Intl/Data/Provider/ScriptDataProvider.php @@ -19,7 +19,7 @@ * * @author Bernhard Schussek * - * @internal to be removed in 5.0. + * @internal */ class ScriptDataProvider { @@ -38,6 +38,9 @@ public function __construct(string $path, BundleEntryReaderInterface $reader) $this->reader = $reader; } + /** + * @internal to be removed in 5.0. + */ public function getScripts() { return $this->reader->readEntry($this->path, 'meta', ['Scripts']); @@ -52,6 +55,9 @@ public function getName($script, $displayLocale = null) return $this->reader->readEntry($this->path, $displayLocale, ['Names', $script]); } + /** + * @internal to be removed in 5.0. + */ public function getNames($displayLocale = null) { if (null === $displayLocale) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy