[Intl] Outsourced bundle reader creation to Icu component
This commit is contained in:
parent
0160fd5c74
commit
427d24a7a7
@ -203,7 +203,7 @@ class Intl
|
||||
{
|
||||
if (null === self::$bundleReader) {
|
||||
self::$bundleReader = new StructuredBundleReader(new BufferedBundleReader(
|
||||
IcuData::isLoadable() ? new BinaryBundleReader() : new PhpBundleReader(),
|
||||
IcuData::getBundleReader(),
|
||||
self::BUFFER_SIZE
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user