<?php

namespace Fisharebest\Localization\Language;

use Fisharebest\Localization\PluralRule\PluralRule0;
use Fisharebest\Localization\Script\ScriptHans;
use Fisharebest\Localization\Territory\TerritoryCn;

/**
 * Class LanguageZh - Representation of the Chinese language.
 *
 * @author    Greg Roach <fisharebest@gmail.com>
 * @copyright (c) 2019 Greg Roach
 * @license   GPLv3+
 */
class LanguageYue extends AbstractLanguage implements LanguageInterface
{
    public function code()
    {
        return 'yue';
    }

    public function defaultTerritory()
    {
        return new TerritoryCn();
    }

    public function defaultScript()
    {
        return new ScriptHans();
    }

    public function pluralRule()
    {
        return new PluralRule0();
    }
}
