Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@
"classmap": [],
"psr-0": {
"Mcamara\\LaravelLocalization": "src/"
}
},
"files": [
"src/Mcamara/LaravelLocalization/helper.php"
]
},
"autoload-dev": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @method static bool isHiddenDefault(string $locale)
* @method static void setSupportedLocales(array $locales)
* @method static string localizeURL(string|null $url = null, string|bool|null $locale = null)
* @method static string|false getLocalizedURL(string|false|null $locale = null, string|bool|null $url = null, array $attributes = [], bool $forceDefaultLocation = false)
* @method static string getLocalizedURL(string|null $locale = null, string|null $url = null, array $attributes = [], bool $forceDefaultLocation = false)
* @method static string|false getURLFromRouteNameTranslated(string|bool $locale, string $transKeyName, array $attributes = [], bool $forceDefaultLocation = false)
* @method static string getNonLocalizedURL(string|false|null $url = null)
* @method static string getDefaultLocale()
Expand All @@ -28,7 +28,8 @@
* @method static array getSupportedLanguagesKeys()
* @method static bool checkLocaleInSupportedLocales(string|bool $locale)
* @method static void setRouteName(string $routeName)
* @method static string transRoute(string $routeName)
* @method static string transRoute(string $routeName, array $parameters = [], string|null $locale = null)
* @method static string route(string $key, array $parameters = [], string|null $locale = null)
* @method static string|false getRouteNameFromAPath(string $path)
* @method static \Illuminate\Contracts\Config\Repository getConfigRepository()
* @method static bool useAcceptLanguageHeader()
Expand Down
Loading