protected function filterLocale(Locale $locale)
    {
        $language = substr($locale->locale, 0, 2);

        $this->addLocale($locale->locale);
        $this->addLocale($language);
    }
protected function filterLocale(Locale $locale)
    {
        $language = substr($locale->locale, 0, 2);

        $this->addLocale($locale->locale);
        $this->addLocale($language);
    }
protected function filterLocale ( Locale $ locale ) { $ language = substr ( $ locale -> locale , 0 , 2 ) ; $ this -> addLocale ( $ locale -> locale ) ; $ this -> addLocale ( $ language ) ; }
Filter the given Locale.

@param \CodeZero\BrowserLocale\Locale $locale

@return void
Filter the given Locale .