public function filter(array $locales)
    {
        $this->filtered = [];

        foreach ($locales as $locale) {
            $this->filterLocale($locale);
        }

        return $this->filtered;
    }
public function filter(array $locales)
    {
        $this->filtered = [];

        foreach ($locales as $locale) {
            $this->filterLocale($locale);
        }

        return $this->filtered;
    }
public function filter ( array $ locales ) { $ this -> filtered = [ ] ; foreach ( $ locales as $ locale ) { $ this -> filterLocale ( $ locale ) ; } return $ this -> filtered ; }
Filter the locales.

@param array $locales

@return array
Filter the locales .