Prado\I18N\core\CultureInfo::findInfo PHP Method

findInfo() protected method

The path to the specific ICU data is separated with a slash "/". E.g. To find the default calendar used by the culture, the path "calendar/default" will return the corresponding default calendar. Use merge=true to return the ICU including the parent culture. E.g. The currency data for a variant, say "en_AU" contains one entry, the currency for AUD, the other currency data are stored in the "en" data file. Thus to retrieve all the data regarding currency for "en_AU", you need to use findInfo("Currencies,true);.
protected findInfo ( $path = '/', $merge = false ) : mixed
return mixed the specific ICU data.
    protected function findInfo($path = '/', $merge = false)
    {
        $result = array();
        foreach ($this->dataFiles as $section) {
            $info = $this->searchArray($this->data[$section], $path);
            if ($info) {
                if ($merge) {
                    $result = array_merge($info, $result);
                } else {
                    return $info;
                }
            }
        }
        return $result;
    }