src/Leevel/I18n/Load.php
protected function findMoFile(array $dirs): array
    {
        $files = [];

        foreach ($dirs as $dir) {
            if (!is_dir($dir)) {
                throw new RuntimeException(sprintf('I18n load dir %s is not exits.', $dir));
            }

            $files = array_merge($files, $this->getMoFiles($dir));
        }

        return $files;
    }
protected function findMoFile(array $dirs): array
    {
        $files = [];

        foreach ($dirs as $dir) {
            if (!is_dir($dir)) {
                throw new RuntimeException(sprintf('I18n load dir %s is not exits.', $dir));
            }

            $files = array_merge($files, $this->getMoFiles($dir));
        }

        return $files;
    }
分析目录中的 PHP 语言包包含的文件.

@param array $dirs

@author 小牛

@since 2016.11.27

@return array