Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Intl] Simplify API #28846
Simplifies the Intl API. It greatly reduces the no. of boilerplate classes in this component. Very over complicated, much wow :)
class LanguageBundle extends LanguageDataProvider implements LanguageBundleInterface
Which seems very over complicated just to provide static data.
// before Intl::getLanguageBundle()->getLanguageName() // string | null // after Languages::getName() // string Languages::exists() // bool
I left out Canonicalization on puropose, that's a new topic to me.
2 times, most recently
Oct 14, 2018
referenced this pull request
Oct 16, 2018
4 times, most recently
Mar 17, 2019
i've moved all data bundles, ready for first round of review.