Method | Description | |
---|---|---|
__construct ( string $requestParam ) : void | Constructor. | |
determineLocale ( Illuminate\Http\Request $request ) : string | Determine the locale from the request parameters. |
public __construct ( string $requestParam ) : void | ||
$requestParam | string | Name of the request parameter that holds the locale |
return | void |
public determineLocale ( Illuminate\Http\Request $request ) : string | ||
$request | Illuminate\Http\Request | |
return | string |