gridConfig = Config::default('ZN\Language\GridDefaultConfiguration') ::get('ViewObjects', 'mlgrid'); $mlDir = $this->directory; $this->appdir = LANGUAGES_DIR . $mlDir; $this->externalAppdir = EXTERNAL_LANGUAGES_DIR . $mlDir; if( ! is_dir($this->appdir) ) { mkdir($this->appdir, 0755); // @codeCoverageIgnore } $getLang = Lang::get(); $this->externalLang = $this->externalAppdir.$getLang.$this->extension; } /** * protected get file path */ protected function getFilePath() { return $this->appdir . Lang::get(). $this->extension; } /** * protected lang file * * @param string $app * * @return string */ protected function _langFile($app) { return $this->appdir . $app . $this->extension; } }