aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/commerceguys/intl/src/Language/LanguageInterface.php
blob: 14c603dfd489705edc11bcff05b3cb474ea47f7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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();
}