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