Neos\Flow\I18n\Service::getParentLocaleOf PHP Method

getParentLocaleOf() public method

Returns a parent Locale object of the locale provided.
public getParentLocaleOf ( Locale $locale ) : Locale
$locale Locale The Locale to search parent for
return Locale Existing Locale instance or NULL on failure
    public function getParentLocaleOf(Locale $locale)
    {
        return $this->localeCollection->getParentLocaleOf($locale);
    }