aboutsummaryrefslogtreecommitdiffstats
path: root/library/intl/src/Language/LanguageInterface.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-12-30 15:25:06 -0800
committerfriendica <info@friendica.com>2014-12-30 15:25:06 -0800
commitabd345f80f5074d325fd137e48a23925eaa66802 (patch)
treec5a469a001b2eb9ae5482b93b557a42e3181208f /library/intl/src/Language/LanguageInterface.php
parent2f650b74d35335815c48537cd03c81cc92a3c4f8 (diff)
parentae9d08267c632cae36a4ebd34c2077fd0051e0e7 (diff)
downloadvolse-hubzilla-abd345f80f5074d325fd137e48a23925eaa66802.tar.gz
volse-hubzilla-abd345f80f5074d325fd137e48a23925eaa66802.tar.bz2
volse-hubzilla-abd345f80f5074d325fd137e48a23925eaa66802.zip
Merge branch 'master' into trinidad
Diffstat (limited to 'library/intl/src/Language/LanguageInterface.php')
-rw-r--r--library/intl/src/Language/LanguageInterface.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/library/intl/src/Language/LanguageInterface.php b/library/intl/src/Language/LanguageInterface.php
new file mode 100644
index 000000000..612389142
--- /dev/null
+++ b/library/intl/src/Language/LanguageInterface.php
@@ -0,0 +1,37 @@
+<?php
+
+namespace CommerceGuys\Intl\Language;
+
+interface LanguageInterface
+{
+ /**
+ * Gets the two-letter language code.
+ *
+ * @return string
+ */
+ public function getLanguageCode();
+
+ /**
+ * Sets the two-letter language code.
+ *
+ * @param string $languageCode The two-letter language code.
+ */
+ public function setLanguageCode($languageCode);
+
+ /**
+ * 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();
+
+ /**
+ * Sets the language name.
+ *
+ * @param string $name The language name.
+ */
+ public function setName($name);
+}