src/Leevel/I18n/Load.php
public function loadData(): array
    {
        if (null !== $this->loaded) {
            return $this->loaded;
        }

        $files = $this->findMoFile($this->parseDir($this->dirs));
        $texts = $this->parseMoData($files);

        return $this->loaded = $texts;
    }
public function loadData(): array
    {
        if (null !== $this->loaded) {
            return $this->loaded;
        }

        $files = $this->findMoFile($this->parseDir($this->dirs));
        $texts = $this->parseMoData($files);

        return $this->loaded = $texts;
    }
载入语言包数据.

@author 小牛

@since 2016.11.27

@return array