1 | <?php namespace Arcanesoft\Seo\Entities; |
||
9 | class Locales |
||
10 | { |
||
11 | /* ----------------------------------------------------------------- |
||
12 | | Main Methods |
||
13 | | ----------------------------------------------------------------- |
||
14 | */ |
||
15 | /** |
||
16 | * Get all the supported locales. |
||
17 | * |
||
18 | * @return \Illuminate\Support\Collection |
||
19 | */ |
||
20 | public static function all() |
||
28 | |||
29 | /** |
||
30 | * Get all the supported locales keys. |
||
31 | * |
||
32 | * @return \Illuminate\Support\Collection |
||
33 | */ |
||
34 | public static function keys() |
||
38 | |||
39 | /** |
||
40 | * Get a supported locale by its key. |
||
41 | * |
||
42 | * @param string $key |
||
43 | * @param string|null $default |
||
44 | * |
||
45 | * @return string|null |
||
46 | */ |
||
47 | public static function get($key, $default = null) |
||
51 | } |
||
52 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.