diff options
Diffstat (limited to 'vendor/commerceguys/intl/src/Language/LanguageInterface.php')
-rw-r--r-- | vendor/commerceguys/intl/src/Language/LanguageInterface.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/commerceguys/intl/src/Language/LanguageInterface.php b/vendor/commerceguys/intl/src/Language/LanguageInterface.php new file mode 100644 index 000000000..14c603dfd --- /dev/null +++ b/vendor/commerceguys/intl/src/Language/LanguageInterface.php @@ -0,0 +1,23 @@ +<?php + +namespace CommerceGuys\Intl\Language; + +interface LanguageInterface +{ + /** + * Gets the two-letter language code. + * + * @return string + */ + public function getLanguageCode(); + + /** + * Gets the language name. + * + * Note that certain locales have incomplete translations, in which + * case the english version of the language name is used instead. + * + * @return string + */ + public function getName(); +} |