| Total Complexity | 8 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Config |
||
| 6 | { |
||
| 7 | public static function subdomains() |
||
| 10 | } |
||
| 11 | |||
| 12 | public static function customSubdomains() |
||
| 13 | { |
||
| 14 | return config('localization.custom_subdomains', []); |
||
| 15 | } |
||
| 16 | |||
| 17 | public static function beautify() |
||
| 18 | { |
||
| 19 | return config('localization.beautify_url'); |
||
| 20 | } |
||
| 21 | |||
| 22 | public static function fallbackLocale() |
||
| 23 | { |
||
| 24 | return config('app.fallback_locale'); |
||
| 25 | } |
||
| 26 | |||
| 27 | public static function supportedLocales() |
||
| 28 | { |
||
| 29 | return config('localization.supportedLocales'); |
||
| 30 | } |
||
| 31 | |||
| 32 | public static function acceptLanguage() |
||
| 33 | { |
||
| 34 | return config('localization.acceptLanguage'); |
||
| 35 | } |
||
| 36 | |||
| 37 | public static function cookieLocalization() |
||
| 40 | } |
||
| 41 | |||
| 42 | public static function preventRedirect() |
||
| 43 | { |
||
| 44 | return config('localization.prevent_redirect', false); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |