Méthode | Description | |
---|---|---|
handle ( Illuminate\Http\Request $request, Closure $next ) : mixed | Handle an incoming request. | |
translateRoute ( string $routeName, array $attributes = [] ) : Illuminate\Routing\Route | null | Translate route. |
Méthode | Description | |
---|---|---|
fireEvent ( string $locale, string $route, array $attributes ) : array | Fire translation event. | |
getTranslatedUrl ( Illuminate\Http\Request $request ) : null | string | Get translated URL. |