aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/commerceguys/intl/src/Language/LanguageInterface.php
blob: 14c603dfd489705edc11bcff05b3cb474ea47f7e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                         







                                                                       
 
<?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();
}