protected function loadDefinitions($locale)
    {
        if (!isset($this->definitions[$locale])) {
            $filename = $this->definitionPath . $locale . '.json';
            $this->definitions[$locale] = json_decode(file_get_contents($filename), true);
        }

        return $this->definitions[$locale];
    }
protected function loadDefinitions($locale)
    {
        if (!isset($this->definitions[$locale])) {
            $filename = $this->definitionPath . $locale . '.json';
            $this->definitions[$locale] = json_decode(file_get_contents($filename), true);
        }

        return $this->definitions[$locale];
    }
protected function loadDefinitions ( $ locale ) { if ( ! isset ( $ this -> definitions [ $ locale ] ) ) { $ filename = $ this -> definitionPath . $ locale . '.json' ; $ this -> definitions [ $ locale ] = json_decode ( file_get_contents ( $ filename ) , true ) ; } return $ this -> definitions [ $ locale ] ; }
Loads the country definitions for the provided locale.

@param string $locale The desired locale.

@return array
Loads the country definitions for the provided locale .