1 | <?php |
||
5 | class CombinedFilter implements Filter |
||
6 | { |
||
7 | /** |
||
8 | * The filtered results. |
||
9 | * |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $filtered; |
||
13 | |||
14 | /** |
||
15 | * Filter the locales. |
||
16 | * |
||
17 | * @param array $locales |
||
18 | * |
||
19 | * @return array |
||
20 | */ |
||
21 | 1 | public function filter(array $locales) |
|
31 | |||
32 | /** |
||
33 | * Filter the given Locale. |
||
34 | * |
||
35 | * @param \CodeZero\BrowserLocale\Locale $locale |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | 1 | protected function filterLocale($locale) |
|
50 | |||
51 | /** |
||
52 | * Add a locale to the results array. |
||
53 | * |
||
54 | * @param string $locale |
||
55 | * |
||
56 | * @return void |
||
57 | */ |
||
58 | 1 | protected function addLocale($locale) |
|
64 | } |
||
65 |