App\Console\Commands\TranslationImport::getLangsDir PHP Метод

getLangsDir() защищенный Метод

Get the directory path where the language file
protected getLangsDir ( string | null $name = null ) : string
$name string | null
Результат string
    protected function getLangsDir($name = null)
    {
        if (!$name) {
            // core language
            return base_path('resources') . DIRECTORY_SEPARATOR . 'lang';
        }
        return base_path('plugins') . DIRECTORY_SEPARATOR . $name . DIRECTORY_SEPARATOR . 'langs';
    }