Monarobase\CountryList\CountryList::setList PHP Method

setList() public method

public setList ( string $locale, string $source, array $data ) : CountryList
$locale string The locale
$source string Data source
$data array An array (list) with country data
return CountryList The instance of CountryList to enable fluent interface
    public function setList($locale, $source, array $data)
    {
        $this->dataCache[$locale][mb_strtolower($source)] = $data;
        return $this;
    }