![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Translate/Js/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Translate\Js; /** * Js Translation config */ class Config { /** * Should the framework generate dictionary file * * @var bool */ protected $dictionaryEnabled; /** * Name of dictionary json file * * @var string */ protected $dictionaryFileName; /** * @param bool $dictionaryEnabled * @param string $dictionaryFileName */ public function __construct($dictionaryEnabled = false, $dictionaryFileName = null) { $this->dictionaryEnabled = $dictionaryEnabled; $this->dictionaryFileName = $dictionaryFileName; } /** * Should the framework generate dictionary file * * @return bool */ public function dictionaryEnabled() { return $this->dictionaryEnabled; } /** * Name of dictionary json file * * @return string */ public function getDictionaryFileName() { return $this->dictionaryFileName; } }