|
4 | 4 |
|
5 | 5 | use Illuminate\Support\Facades\Facade;
|
6 | 6 |
|
| 7 | +/** |
| 8 | + * @method static string setLocale(string $locale = null) |
| 9 | + * @method static bool isHiddenDefault(string $locale) |
| 10 | + * @method static void setSupportedLocales(array $locales) |
| 11 | + * @method static string localizeUrl(string $url = null, string|bool $locale = null) |
| 12 | + * @method static string|false getLocalizedUrl(string|bool $locale = null, string|false $url = null, array $attributes = [], bool $forceDefaultLocation = false) |
| 13 | + * @method static string|false getURLFromRouteNameTranslated(string|bool $locale, string $transKeyName, array $attributes = [], bool $forceDefaultLocation = false) |
| 14 | + * @method static string getNonLocalizedURL(string|false $url = null) |
| 15 | + * @method static string getDefaultLocale() |
| 16 | + * @method static array getLocalesMapping() |
| 17 | + * @method static string|null getLocalesFromMapping(string|null $locale) |
| 18 | + * @method static string|null getInversedLocaleFromMapping(string|null $locale) |
| 19 | + * @method static array getSupportedLocales() |
| 20 | + * @method static array getLocalesOrder() |
| 21 | + * @method static string getCurrentLocaleName() |
| 22 | + * @method static string getCurrentLocaleNative() |
| 23 | + * @method static string getCurrentLocaleDirection() |
| 24 | + * @method static string getCurrentLocaleScript() |
| 25 | + * @method static string getCurrentLocaleNativeReading() |
| 26 | + * @method static string getCurrentLocale() |
| 27 | + * @method static string getCurrentLocaleRegional() |
| 28 | + * @method static array getSupportedLanguagesKeys() |
| 29 | + * @method static bool checkLocaleInSupportedLocales(string|bool $locale) |
| 30 | + * @method static void setRouteName(string $routeName) |
| 31 | + * @method static string transRoute(string $routeName) |
| 32 | + * @method static string|false getRouteNameFromAPath(string $path) |
| 33 | + * @method static \Illuminate\Config\Repository getConfigRepository() |
| 34 | + * @method static bool hideUrlAndAcceptHeader() |
| 35 | + * @method static bool hideDefaultLocaleInURL() |
| 36 | + * @method static string createUrlFromUri(string $uri) |
| 37 | + * @method static void setBaseUrl(string $url) |
| 38 | + * @method static string getSerializedTranslatedRoutes() |
| 39 | + * @method static void setSerializedTranslatedRoutes(string $serializedRoutes) |
| 40 | + * |
| 41 | + * @see \Mcamara\LaravelLocalization\LaravelLocalization |
| 42 | + */ |
7 | 43 | class LaravelLocalization extends Facade
|
8 | 44 | {
|
9 | 45 | /**
|
|
0 commit comments