1 | <?php namespace Propaganistas\LaravelPhone\Traits; |
||
5 | trait ParsesCountries |
||
6 | { |
||
7 | /** |
||
8 | * Determine whether the given country code is valid. |
||
9 | * |
||
10 | * @param string $country |
||
11 | * @return bool |
||
12 | */ |
||
13 | public static function isCountryCode($country) |
||
17 | |||
18 | /** |
||
19 | * Parse the provided phone countries to a valid array. |
||
20 | * |
||
21 | * @param string|array $countries |
||
22 | * @return array |
||
23 | */ |
||
24 | protected function parseCountries($countries) |
||
34 | } |