src/Form/Element/LocaleSelect.php
public function getLocaleList()
    {
        if (null === $this->localeList) {
            $this->setLocaleList(LocaleUtils::getNamedList(Locale::getDefault()));
        }

        return $this->localeList;
    }
public function getLocaleList()
    {
        if (null === $this->localeList) {
            $this->setLocaleList(LocaleUtils::getNamedList(Locale::getDefault()));
        }

        return $this->localeList;
    }
public function getLocaleList ( ) { if ( null === $ this -> localeList ) { $ this -> setLocaleList ( LocaleUtils :: getNamedList ( Locale :: getDefault ( ) ) ) ; } return $ this -> localeList ; }
Return the locale list for checking allowed locales

Lazy loads one if none set

@return array
Return the locale list for checking allowed locales