Метод | Описание | |
---|---|---|
handle ( Illuminate\Http\Request $request, Closure $next ) : mixed | Handle an incoming request. | |
translateRoute ( string $routeName, array $attributes = [] ) : Illuminate\Routing\Route | null | Translate route. |
Метод | Описание | |
---|---|---|
fireEvent ( string $locale, string $route, array $attributes ) : array | Fire translation event. | |
getTranslatedUrl ( Illuminate\Http\Request $request ) : null | string | Get translated URL. |