\think\middlewareLoadLangPack

多语言加载

Summary

Methods
Properties
Constants
__construct()
handle()
No public properties found
No constants found
No protected methods found
$app
$lang
N/A
No private methods found
No private properties found
N/A

Properties

$app

$app : 

Type

$lang

$lang : 

Type

Methods

__construct()

__construct(\think\App  $app, \think\Lang  $lang) 

Parameters

\think\App $app
\think\Lang $lang

handle()

handle(\think\Request  $request, \Closure  $next) : \think\Response

路由初始化(路由规则注册)

Parameters

\think\Request $request
\Closure $next

Returns

\think\Response