Pagekit\Intl\IntlModule::parse PHP 메소드

parse() 보호된 메소드

protected parse ( string $file ) : array | null
$file string
리턴 array | null
    protected function parse($file)
    {
        static $data = [];
        if (!isset($data[$file])) {
            $data[$file] = ($file = App::locator()->get($file)) ? json_decode(file_get_contents($file), true) : null;
        }
        return $data[$file];
    }