* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Adapter\Language; use Language; use PrestaShop\PrestaShop\Core\Language\LanguageValidatorInterface; /** * Class LanguageValidator is responsible for supporting validations from legacy Language class part. */ final class LanguageValidator implements LanguageValidatorInterface { /** * {@inheritdoc} */ public function isInstalledByLocale($locale) { return Language::isInstalledByLocale($locale); } }